summaryrefslogtreecommitdiff
path: root/test/files/neg/t6666b.check
blob: c3ffc7cfa9a2dc114a7be683adb56da3df9e4661 (plain) (blame)
1
2
3
4
5
6
7
t6666b.scala:11: error: Implementation restriction: access of method x$1 in class C5 from object Nested$3, would require illegal premature access to the unconstructed `this` of class C5
    object Nested { def xx = x}
                             ^
t6666b.scala:22: error: Implementation restriction: access of method x$2 in class C15 from object Nested$4, would require illegal premature access to the unconstructed `this` of class C15
        object Nested { def xx = x}
                                 ^
two errors found