Make FIR multi-module tests from IDE regular FIR compiler resolve tests

This commit is contained in:
Mikhail Glukhikh
2020-06-24 15:56:47 +03:00
parent 79691feb8f
commit 699829ccb3
105 changed files with 564 additions and 527 deletions
@@ -0,0 +1,32 @@
// !LANGUAGE: +MultiPlatformProjects
// MODULE: m1-common
// FILE: common.kt
expect open class A() {
fun foo()
}
open class B : A()
// MODULE: m1-jvm(m1-common)
// FILE: jvm.kt
actual open class A {
actual fun foo() {}
fun bar() {}
}
class C : B() {
fun test() {
foo()
bar()
}
}
class D : A() {
fun test() {
foo()
bar()
}
}