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: panic on invalid struct initialization #26416
Activity
gopherbot commentedon Jul 17, 2018
Change https://golang.org/cl/124395 mentions this issue:
cmd/compile: fix crash on invalid struct literalodeke-em commentedon Jul 17, 2018
This issue is actually a regression, on Go1.10 it returns the expected error as per

https://play.golang.org/p/WqHsGsJTeAs
whereas on tip it trips out as reported
odeke-em commentedon Jul 17, 2018
Confirmed that this was introduced by CL 97076 aka commit 42ecf39#diff-7728aae3914e92bdec496b35e670668c /cc @ChrisALiles @mdempsky
@mvdan has a CL prepared, great!
mdempsky commentedon Jul 17, 2018
@odeke-em Thanks for identifying the regression root cause.