cmd/compile: panic.Fatalf should not report "use of builtin panic not in function call" but instead "panic.Fatalf undefined (builtin panic has no field or method Fatalf)" #43285
Labels
Milestone
Comments
How to figure out whether an error message is wrong? There is no specification about it. IMHO the current error message is not confusing. |
/cc @randall77 @griesemer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Go are you using (
go version
)?At pre-Go1.16 on tip 55b5801
Does this issue reproduce with the latest release?
Yes
What did you do?
, running this code https://play.golang.org/p/akRcEUKPrTA or inlined below
What did you expect to see?
What did you see instead?
which would be similar to panic being present on a line but without any invocation https://play.golang.org/p/35T1E3Xttpp or
The text was updated successfully, but these errors were encountered: