go/types, types2: add mechanism to report "last good" source file position in case of a panic #51603
Labels
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
We should track the source positions for the code we're in the process of type-checking so that we can report a position when panicking.
This won't simplify debugging (we can always turn on tracing), but it will make it easier for end-users to possibly find a work-around when presented with a compiler issue.
The text was updated successfully, but these errors were encountered: