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



                                               


                                                   
                  
bug128_129.scala:3: '=' expected but identifier found.
    val x | 1 = 2; // not allowed
          ^
bug128_129.scala:3: illegal start of expression
    val x | 1 = 2; // not allowed
                 ^
bug128_129.scala:10: recursive patterns not allowed
        case PT(a@PT(a)) =>  // not allowed
                     ^
three errors found