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:
parent
9fe975a43e
commit
5ae230aca3
|
@ -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
|
|
@ -0,0 +1,6 @@
|
|||
class Database {
|
||||
class Info
|
||||
}
|
||||
class Foo(db : Database) {
|
||||
val info = new db.Info
|
||||
}
|
Loading…
Reference in New Issue