diff options
author | Martin Odersky <odersky@gmail.com> | 2013-06-18 19:38:09 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-06-18 19:38:09 +0200 |
commit | f8a42a0584d855a0548c20c7434ed83a59647ed9 (patch) | |
tree | 9bdb1b8367d5a692cbf26003e6b10b6122a8d03b /test/x/names.scala | |
parent | 3c7936515a9aaf383b453fe5844598fd53a2e551 (diff) | |
download | dotty-f8a42a0584d855a0548c20c7434ed83a59647ed9.tar.gz dotty-f8a42a0584d855a0548c20c7434ed83a59647ed9.tar.bz2 dotty-f8a42a0584d855a0548c20c7434ed83a59647ed9.zip |
Added typedIdent method.
Also some refactorings that were caused by adding this method.
Diffstat (limited to 'test/x/names.scala')
-rw-r--r-- | test/x/names.scala | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/x/names.scala b/test/x/names.scala new file mode 100644 index 000000000..0caf8ff43 --- /dev/null +++ b/test/x/names.scala @@ -0,0 +1,21 @@ +package test + +object Foo { + def foo = 1 +} + +object Bar { + def foo = 2 +} + +object Test { + + import Foo.foo + + object Inner { + + import Bar._ +//!! println(foo) + } + +} |