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
The issue is in hairyVisitor, now we're skipping visiting Ninit if the condition is constant, so it's not able to complain that OCLOSUREs aren't exportable. We just need to restore that.
Activity
ALTree commentedon Feb 25, 2018
Also cc @griesemer in case aclement's CL just exposed a pre-existing issue.
gopherbot commentedon Feb 27, 2018
Change https://golang.org/cl/97415 mentions this issue:
cmd/compile: export/import OCLOSUREmdempsky commentedon Feb 27, 2018
The issue is in hairyVisitor, now we're skipping visiting Ninit if the condition is constant, so it's not able to complain that OCLOSUREs aren't exportable. We just need to restore that.
gopherbot commentedon Feb 27, 2018
Change https://golang.org/cl/97475 mentions this issue:
cmd/compile: fix inlining of constant if statements