Files
kotlin-fork/compiler/testData/diagnostics/tests/scopes/AmbiguousNonExtensions.kt
T
Evgeny Gerashchenko e4d8e4d61b Not ignoring other properties in scope.
First one (almost randomly) was chosen instead of ambiguity.
2013-09-12 14:58:58 +04:00

19 lines
232 B
Kotlin
Vendored

// 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<!>()