github.com/neugram/ng@v0.0.0-20180309130942-d472ff93d872/eval/testdata/typeswitch9_error.ng (about) 1 x := interface{}(42) 2 switch x.(type) { 3 case int: 4 fallthrough // ERROR: cannot fallthrough in type switch 5 default: 6 } 7 8 print("OK")