Pending test for #606

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@14327 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
maier 2008-03-07 16:50:44 +00:00
parent 9fe975a43e
commit 5ae230aca3
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,4 @@
t0606.scala:5: error: private value db escapes its defining scope as part of type Foo.this.db.Info
val info = new db.Info
^
one error found

View File

@ -0,0 +1,6 @@
class Database {
class Info
}
class Foo(db : Database) {
val info = new db.Info
}