diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2008-09-01 13:56:12 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2008-09-01 13:56:12 +0000 |
commit | 4b6277f8511bab6d4d0fc01f398bd9e967b94bdb (patch) | |
tree | 5f19a4128de401b769afd39b8e99f321fba4e1f9 /test/files/jvm/nest.scala | |
parent | 906248a4b2dc4275a91c335af9d214aa883d1037 (diff) | |
download | scala-4b6277f8511bab6d4d0fc01f398bd9e967b94bdb.tar.gz scala-4b6277f8511bab6d4d0fc01f398bd9e967b94bdb.tar.bz2 scala-4b6277f8511bab6d4d0fc01f398bd9e967b94bdb.zip |
Fixed #1315, outer instances are passed implici...
Fixed #1315, outer instances are passed implicitly. Reorganized nested
classes tests.
Diffstat (limited to 'test/files/jvm/nest.scala')
-rw-r--r-- | test/files/jvm/nest.scala | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/test/files/jvm/nest.scala b/test/files/jvm/nest.scala index 71f6064f31..60f3a3155f 100644 --- a/test/files/jvm/nest.scala +++ b/test/files/jvm/nest.scala @@ -14,11 +14,9 @@ object Test extends Application { val r = new nest.best.rest; Console.println(nest.best.rest.test.inc(2)) Console.println(nest.best.rest.x) -} -// bug #695 -object ForceParse extends OuterTParams[AnyRef] { - // Force import of HarderToParse<A>.InnerClass, - // which has confusing method signature. - var field: InnerClass = null + print("Instantiating public inner class: ") + val outer = new nest + val inn = new outer.Inn(42) + inn.doSomething } |