Lines Matching full:case
21 case s: // ERROR "mismatched types string and I|incompatible types"
25 case i: // ERROR "mismatched types I and string|incompatible types"
30 case nil:
31 case m1: // ERROR "can only compare map m to nil|map can only be compared to nil"
37 case nil:
38 case a1: // ERROR "can only compare slice a to nil|slice can only be compared to nil"
44 case nil:
45 case f1: // ERROR "can only compare func f to nil|func can only be compared to nil"
51 case ar1:
57 case st1:
66 case s:
70 case i: