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
cmd/compile: exit compilation earlier if type checking fails #22909
Issues like #22904 happen because the backend doesn't expect to deal with invalid code. Instead of having to kludge checks everywhere, we should just exit compilation at the end of type checking if we found any errors. (Analogously, we already exit after parsing if there are syntax errors.)
Activity
griesemer commentedon Jun 5, 2018
This should be easy to do and increase compiler stability. Marking release blocker.
gopherbot commentedon Jun 5, 2018
Change https://golang.org/cl/116335 mentions this issue:
cmd/compile: terminate compilation if type-checking fails