summaryrefslogblamecommitdiff
path: root/test/files/neg/bug412.check
blob: f25ad6fa7ee9479d0062018de93ef353a105d29a (plain) (tree)
1
2
3
4
5



                                                                                         
               
bug412.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