We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
go/types accepts the following program:
package a func f() { switch 0 { case 0: case 0: } }
While both gc and gccgo reject it with duplicate case 0 in switch. Compilers should agree on validity of this program.
duplicate case 0 in switch
on commit 997b354
Activity