strconv: ParseComplex fails to accept "0_0+0x_0p0i" #38962
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
Reproducer:
We just added function
ParseComplex
tostrconv
so this is a release blocker.The problem is in
readFloat
where we check forunderscoreOk
for the whole string rather than only the string read so far (atof.go:303
).Fix is trivial, need more tests.
The text was updated successfully, but these errors were encountered: