You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
go/parser: fails when a valid function declaration follows an broken one #29145
The selector with no "Sel" field breaks parsing in the main function, causing the code below it to fail parsing. The handle function never gets registered as a function declaration. Moving the handle function above the main function causes this code to type-check as expected. This poses a problem for editor-integrated tools that need to work on broken code.
Activity
stamblerre commentedon Dec 7, 2018
/cc @ianthehat