-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/compile: bad line number for duplicate default case #15911
Labels
Milestone
Comments
josharian
added a commit
to josharian/go
that referenced
this issue
May 31, 2016
…error Fixes golang#15911. Change-Id: I500533484de61aa09abe4cecb010445e3176324e
mk0x9
pushed a commit
to mk0x9/go
that referenced
this issue
May 31, 2016
Some of these errors are reported in the wrong places. That’s issue golang#15911 and golang#15912. Change-Id: Ia09d7f89be4d15f05217a542a61b6ac08090dd87 Reviewed-on: https://go-review.googlesource.com/23588 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
josharian
added a commit
to josharian/go
that referenced
this issue
May 31, 2016
…error Fixes golang#15911. Change-Id: I500533484de61aa09abe4cecb010445e3176324e
josharian
added a commit
to josharian/go
that referenced
this issue
Jun 17, 2016
…error Fixes golang#15911. Change-Id: I500533484de61aa09abe4cecb010445e3176324e
CL https://golang.org/cl/26760 mentions this issue. |
And for the record, go/types and gccgo emit the error message on the second default lines. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Those errors are on the wrong line. They should be on the second default line. The fix is trivial, just waiting for 1.8.
The text was updated successfully, but these errors were encountered: