summaryrefslogtreecommitdiff
path: root/test/files/neg/t343.check
blob: d310b7915fa2e97f81d7ad97cf25a5380af51a4a (plain) (blame)
1
2
3
4
t343.scala:5: error: private class Foo escapes its defining scope as part of type C.this.Foo
  def get:Foo = new Foo();
          ^
one error found