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