github.com/neugram/ng@v0.0.0-20180309130942-d472ff93d872/eval/testdata/switch1_error.ng (about) 1 switch { 2 default: 3 print(1) 4 default: // ERROR: multiple defaults in switch 5 print(2) 6 case true: 7 print(3) 8 }