summaryrefslogblamecommitdiff
path: root/test/files/neg/t5969.check
blob: 9d8ac9a3a5a6a5f8f40b25d75c68e1bc15ace211 (plain) (tree)
1
2
3
4
5
6
7






                                                                  
t5969.scala:9: error: overloaded method value g with alternatives:
  (x: C2)String <and>
  (x: C1)String
 cannot be applied to (String)
    if (false) List(g(x)) else List[C1]() map g
                    ^
one error found