Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
cmd/go2go: "receiver type inference failed" panic on invalid type #40056
The following program panics instead of producing a type-check error.
The panic traceback is:
Possibly related to #39758 (comment).
That one used to crash in a different spot, but in the current playground, that one and the example from this issue both panic in
However, perhaps different underlying issues...
…e inferred This can happen due to earlier errors. This change avoids the panic but reports a follow-up error. Not ideal, but good enough for now. Fixes #40056. Change-Id: I500d4fc2b058cdc70f28883ff8d004df4b43fe4e Reviewed-on: https://go-review.googlesource.com/c/go/+/241130 Reviewed-by: Robert Griesemer <firstname.lastname@example.org>