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



                     
t3015.scala:7: error: scrutinee is incompatible with pattern type;
 found   : _$1
 required: String
  val b(foo) = "foo" 
       ^
error: type mismatch;
 found   : _$1
 required: String
two errors found