Closed anatoliykmetyuk closed 8 years ago
This:
val x = new Foo x.bar()
won't work, because the actual variable won't be extracted from x, x's type on method call will be LocalVariable[Foo] instead of Foo.
x
LocalVariable[Foo]
Foo
This:
won't work, because the actual variable won't be extracted from
x
,x
's type on method call will beLocalVariable[Foo]
instead ofFoo
.