math/big: panic in big.Rat.SetString (panic: impossible
)
#42532
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://play.golang.org/p/NNhU-zb5KG8
What did you expect to see?
This should not panic.
Based on
SetString
documentation, If the operation failed, the value of z should be undefined and the returned value is nil.What did you see instead?
The text was updated successfully, but these errors were encountered: