bec62acf5b
Initial member scopes cover top-level, class-level, and supers Ad-hock version of call resolve was introduced to test them NB: after this commit, total Kotlin resolve test cannot finish because of scope problems in type resolve transformer Related to KT-24078 #KT-24083 Fixed
19 lines
205 B
Kotlin
Vendored
19 lines
205 B
Kotlin
Vendored
actual open class A {
|
|
actual fun foo() {}
|
|
|
|
fun bar() {}
|
|
}
|
|
|
|
class C : B() {
|
|
fun test() {
|
|
foo()
|
|
bar()
|
|
}
|
|
}
|
|
|
|
class D : A() {
|
|
fun test() {
|
|
foo()
|
|
bar()
|
|
}
|
|
} |