Add tests for class hierarchy incremental recompilation
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
open class A<T> {
|
||||
open fun f(x: T) {}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
class AChild : A<Int>()
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
class AChild : A<Int>() {
|
||||
override fun f(x: Int) {}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
Cleaning output files:
|
||||
out/production/module/foo/AChild.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/AChild.kt
|
||||
End of files
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/foo/UseAChildKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/useAChild.kt
|
||||
End of files
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun useAChild(a: AChild) {
|
||||
a.f(0)
|
||||
}
|
||||
Reference in New Issue
Block a user