Add tests for class hierarchy incremental recompilation
This commit is contained in:
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class A
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class A : AParent()
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class AChild : A()
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class AParent
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
class B {
|
||||
fun f() {}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
class B {
|
||||
open fun f() {}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
Cleaning output files:
|
||||
out/production/module/foo/A.class
|
||||
out/production/module/foo/B.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/A.kt
|
||||
src/AParent.kt
|
||||
src/B.kt
|
||||
End of files
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/bar/UseBKt.class
|
||||
out/production/module/foo/AChild.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/AChild.kt
|
||||
src/importA.kt
|
||||
src/importAChild.kt
|
||||
src/useB.kt
|
||||
End of files
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package bar
|
||||
|
||||
import foo.A
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package bar
|
||||
|
||||
import foo.AChild
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package bar
|
||||
|
||||
import foo.B
|
||||
|
||||
fun useB() {
|
||||
B().f()
|
||||
}
|
||||
Reference in New Issue
Block a user