cmd/internal/src: XPos.After doesn't necessarily match Pos.After #20390
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
XPos.After (and XPos.Before) compares XPoses with different bases according to their base index, which is determined by the order they're added to the PosTable. I think this is worrying because we don't currently have any code in the compiler to ensure PosBase are registered in order.
Possible solutions I see:
/cc @griesemer
The text was updated successfully, but these errors were encountered: