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




                                                                                          
t6815.scala:15: error: stable identifier required, but Test.this.u.emptyValDef found.
 Note that value emptyValDef is not stable because its type, Test.u.ValDef, is volatile.
    case _: u.emptyValDef.T => // and, unlike in pos/t6185.scala, we shouldn't allow this.
              ^
one error found