Add tests for class hierarchy incremental recompilation

This commit is contained in:
Alexey Tsvetkov
2015-12-17 21:30:17 +03:00
parent e2794cfa3f
commit 9190029fcc
206 changed files with 1602 additions and 3 deletions
@@ -0,0 +1,5 @@
package foo
open class A {
fun f() {}
}
@@ -0,0 +1,3 @@
package foo
open class A
@@ -0,0 +1,3 @@
package foo
class AChild : A()
@@ -0,0 +1,16 @@
Cleaning output files:
out/production/module/foo/A.class
End of files
Compiling files:
src/A.kt
src/utils.kt
End of files
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/foo/AChild.class
out/production/module/foo/UseAChildKt.class
End of files
Compiling files:
src/AChild.kt
src/useAChild.kt
End of files
@@ -0,0 +1,5 @@
package foo
fun useAChild(a: AChild) {
a.f()
}
@@ -0,0 +1,3 @@
package foo
fun AChild.f() {}