summaryrefslogtreecommitdiff
path: root/test/files/neg/t3015.check
blob: fec54b087b805c52a63b181af6b126b8bc93b18a (plain) (blame)
1
2
3
4
5
6
t3015.scala:7: error: scrutinee is incompatible with pattern type;
 found   : _$1 where type _$1
 required: java.lang.String
  val b(foo) = "foo" 
       ^
one error found