blob: 06c6b32599ceb77a454c29d495e19e4c80565451 (
plain) (
tree)
|
|
Type in expressions to have them evaluated.
Type :help for more information.
scala> object x { def x={} }
defined object 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>
|