Create test for resolving with compiled kotlin dependency

Test for resolving fake overrides from binaries
This commit is contained in:
Pavel V. Talanov
2013-09-16 13:09:46 +04:00
parent 0749fc8cbb
commit 10797db588
7 changed files with 128 additions and 0 deletions
@@ -0,0 +1,9 @@
package test
import dependency.B
fun test(b: B) {
b.<caret>f()
}
// REF: (in dependency.A).f()
@@ -0,0 +1,12 @@
package test
import dependency.A
public open class B(): A() {
}
fun test(b: B) {
b.<caret>f()
}
// REF: (in dependency.A).f()
@@ -0,0 +1,5 @@
package dependency
public open class A() {
public open fun f() {}
}
@@ -0,0 +1,8 @@
package dependency
public open class A() {
public open fun f() {}
}
public open class B(): A() {
}