diff options
author | Martin Odersky <odersky@gmail.com> | 2014-03-16 18:38:03 +0100 |
---|---|---|
committer | Tobias Schlatter <tobias@meisch.ch> | 2014-03-21 11:24:03 +0100 |
commit | 4b57b3d877ca7b66b4cb2e588493d2933ae041bf (patch) | |
tree | cd68fb941a5a9eb2122f828f2670848ef3d750fe /tests/pos/t0504.scala | |
parent | ee1251f37f844bdb4f4ea69177e8183ad74e7b3d (diff) | |
download | dotty-4b57b3d877ca7b66b4cb2e588493d2933ae041bf.tar.gz dotty-4b57b3d877ca7b66b4cb2e588493d2933ae041bf.tar.bz2 dotty-4b57b3d877ca7b66b4cb2e588493d2933ae041bf.zip |
Fix of t0504: _root_ not found
_root_ is now entered into an enclosing context.
Diffstat (limited to 'tests/pos/t0504.scala')
-rw-r--r-- | tests/pos/t0504.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pos/t0504.scala b/tests/pos/t0504.scala new file mode 100644 index 000000000..b2b0b85e4 --- /dev/null +++ b/tests/pos/t0504.scala @@ -0,0 +1,9 @@ +package b { + class B +} + +package a.b { + class A { + val x = new _root_.b.B + } +} |