FIR: introduce callable member symbols & initial member scopes

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
This commit is contained in:
Mikhail Glukhikh
2019-01-25 15:29:21 +03:00
parent 95678a4d64
commit bec62acf5b
58 changed files with 540 additions and 72 deletions
@@ -0,0 +1,5 @@
expect open class A() {
fun foo()
}
open class B : A()
@@ -0,0 +1,11 @@
FILE: common.kt
public open expect class A {
public constructor(): super<R|kotlin/Any|>()
public final function foo(): R|kotlin/Unit|
}
public open class B : R|A| {
public constructor(): super<R|A|>()
}