summaryrefslogtreecommitdiff
path: root/test/files/neg/t412.check
blob: 9cb467e8541140b99939a193fb006370963e6851 (plain) (blame)
1
2
3
4
5
t412.scala:11: error: stable identifier required, but A.this.c found.
 Note that value c is not stable because its type, A.this.CX with A.this.C2, is volatile.
    def castA(x: c.T): T2 = x;
                 ^
one error found