You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, it just act like that the key defaut.size is never present in the toml file, and then it finally get the default value. But, it does present, which confusing me a lot.
I know there exists a type mismatch. However, I think, in this case, it should either throw an exception to report that conversion couldn't be made or just cut the dicimal part out (9.0 -> 9 in this example).
The text was updated successfully, but these errors were encountered:
Given the follow toml:
And the parsing code:
Here we get the output:
Currently, it just act like that the key
defaut.size
is never present in the toml file, and then it finally get the default value. But, it does present, which confusing me a lot.I know there exists a type mismatch. However, I think, in this case, it should either throw an exception to report that conversion couldn't be made or just cut the dicimal part out (9.0 -> 9 in this example).
The text was updated successfully, but these errors were encountered: