diff options
author | Paul Phillips <paulp@improving.org> | 2012-05-03 11:21:31 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-05-03 11:21:31 -0700 |
commit | 03e3a40951ec7d1612cb668973f4d2e5e01872e9 (patch) | |
tree | 28ddde70dc3aa6489e11b4712f8eb2f86702cdc8 /test/files/run/t5655.check | |
parent | 0cb886ae44505334dd5e8408b9355a53bc00e578 (diff) | |
download | scala-03e3a40951ec7d1612cb668973f4d2e5e01872e9.tar.gz scala-03e3a40951ec7d1612cb668973f4d2e5e01872e9.tar.bz2 scala-03e3a40951ec7d1612cb668973f4d2e5e01872e9.zip |
Test case closes SI-5655.
Still some issues with the repl namespace, which should
be managed in a first class way, not defensively/reactively.
Diffstat (limited to 'test/files/run/t5655.check')
-rw-r--r-- | test/files/run/t5655.check | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/files/run/t5655.check b/test/files/run/t5655.check new file mode 100644 index 0000000000..43ebd50e7a --- /dev/null +++ b/test/files/run/t5655.check @@ -0,0 +1,30 @@ +Type in expressions to have them evaluated. +Type :help for more information. + +scala> + +scala> object x { def x={} } +defined module x + +scala> import x._ +import x._ + +scala> x +<console>:12: error: reference to x is ambiguous; +it is imported twice in the same scope by +import x._ +and import x + x + ^ + +scala> x +<console>:12: error: reference to x is ambiguous; +it is imported twice in the same scope by +import x._ +and import x + x + ^ + +scala> + +scala> |