cmd/compile: double error when break is not in a loop #51456
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?and
Does this issue reproduce with the latest release?
(edit) No, on 1.17.7 it's a single error.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://go.dev/play/p/pyIH7X9EZMT?v=gotip
What did you expect to see?
A single error
What did you see instead?
The text was updated successfully, but these errors were encountered: