summaryrefslogtreecommitdiff
path: root/test/neg/bug128_129.check
blob: d410b570951e1e71639522b6d3a46f42107eee36 (plain) (blame)
1
2
3
4
5
6
7
bug128_129.scala:3: variable not allowed under alternative
    val x | 1 = 2; // not allowed
        ^
bug128_129.scala:10: recursive patterns not allowed
        case PT(a@PT(a)) =>  // not allowed
                     ^
two errors found