compiler: Don't record dependencies of invalid redefinitions.
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
Showing
Please
register
or
sign in
to comment