parse.cc
160 KB
-
compiler: Don't record dependencies of invalid redefinitions. · 31da952a
The gofrontend would crash when trying to find the initialization order of a variable list where one of the listed variables was an invalid redefinition of another in a call statement. This patch fixes initialization from call statements to consider invalid redefinitions before recording dependency information. Fixes golang/go#11543. Reviewed-on: https://go-review.googlesource.com/13895 From-SVN: r227276
Ian Lance Taylor committed