239502368a
- locals win - unary calls to plus/minus are not supported in favor of unaryPlus/unaryMinus - unqualified nested classes are temporarily reported as unresolved - function without receiver win against extension function - explicit import win against star import
18 lines
188 B
Kotlin
Vendored
18 lines
188 B
Kotlin
Vendored
package to
|
|
|
|
import a.A
|
|
import a.ext
|
|
import a.p
|
|
|
|
fun A.ext() {
|
|
}
|
|
|
|
var A.p: Int
|
|
get() = 2
|
|
set(i: Int) = throw UnsupportedOperationException()
|
|
|
|
fun A.f() {
|
|
ext()
|
|
p
|
|
p = 3
|
|
} |