-
Notifications
You must be signed in to change notification settings - Fork 18k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fmt: Scanning '%%' is a verb #34180
Comments
Observing the same behaviour for Go 1.8, Go 1.9.5 and Go 1.10.5, not something introduced in 1.13.
|
The logic fails here: if format[i] != '%' { This assumes that a scanning problem is signaled when CC @smasher164 Investigation done. |
Another failing case would be https://play.golang.org/p/itkheUx5t3O
Error returned |
Change https://golang.org/cl/202879 mentions this issue: |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
https://play.golang.org/p/PNBiGNussAs
What did you expect to see?
Second run should return
input does not match format
, just like the call number 4.What did you see instead?
bad verb '%%' for integer
error.The text was updated successfully, but these errors were encountered: