Not ignoring other properties in scope.

First one (almost randomly) was chosen instead of ambiguity.
This commit is contained in:
Evgeny Gerashchenko
2013-09-11 00:04:02 +04:00
parent 48e96aece3
commit e4d8e4d61b
4 changed files with 34 additions and 16 deletions
@@ -0,0 +1,18 @@
// FILE: a.kt
package a
val v = 1
fun f() = 1
// FILE: b.kt
package b
val v = 1
fun f() = 1
// FILE: main.kt
import a.*
import b.*
val vv = <!OVERLOAD_RESOLUTION_AMBIGUITY!>v<!>
val ff = <!OVERLOAD_RESOLUTION_AMBIGUITY!>f<!>()