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
It's unfortunate that this and #435 are still unresolved. My guess is this is complicated because the library doesn't want to deal with integer wraparound, but it even selects the tag incorrectly when unmarshalling into a yaml.Node. I wish there were a way to change the library behavior to select the tag according to the Yaml spec so that I could avoid checking if !!float nodes are parsable as integers myself.
When trying to unmarshal a big integer the value is converted to a float with precision of 16.
Reproduce
https://play.golang.org/p/EJSeNwrMxVK
Actual
Expected
The text was updated successfully, but these errors were encountered: