summaryrefslogtreecommitdiff
path: root/test/neg/S2.check
blob: 0e55659ba4798d522483a90ebabb17e69cb5a141 (plain) (blame)
1
2
3
4
5
6
7
./neg/S2.scala:14: type z.type escapes its defining scope as part of z.Inner
        def x = { val z = new S2(); new z.Inner(); }
                ^
./neg/S2.scala:15: type z.type escapes its defining scope as part of z.Inner
        def y = { val z = new S2(); new z.Inner(); }
                ^
two errors found