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 problem here is that order.go eliminates the empty block before it gets to walk, which is where this error ("fallthrough statement out of place") is usually detected.
It seems to me that this error can be easily detected syntactically and that we should move the error checking for it much earlier, perhaps to noder. But not for 1.9.
cmd/compile accepts this source:
It shouldn't.
(See also #14422.)
The text was updated successfully, but these errors were encountered: