cdf4b17052
fixes (makes it stable) behavior of the script top-level declarations visibility in K2 scripts
13 lines
140 B
Kotlin
Vendored
13 lines
140 B
Kotlin
Vendored
|
|
// FILE: script1.kts
|
|
|
|
val a = 42
|
|
|
|
// FILE: script2.kts
|
|
|
|
val a = "42"
|
|
|
|
// FILE: main.kt
|
|
|
|
fun foo() = <!OVERLOAD_RESOLUTION_AMBIGUITY!>a<!>
|