Add tests for class hierarchy incremental recompilation
This commit is contained in:
+36
@@ -0,0 +1,36 @@
|
||||
Cleaning output files:
|
||||
out/production/module1/foo/A.class
|
||||
End of files
|
||||
Compiling files:
|
||||
module1/src/module1_A.kt
|
||||
End of files
|
||||
Cleaning output files:
|
||||
out/production/module2/foo/AChild.class
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/module2_AChild.kt
|
||||
End of files
|
||||
COMPILATION FAILED
|
||||
Cannot access 'A': it is 'private' in file
|
||||
Subclass effective visibility 'public' should be the same or less permissive than its superclass effective visibility 'private'
|
||||
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module1/foo/A.class
|
||||
End of files
|
||||
Compiling files:
|
||||
module1/src/module1_A.kt
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/module2_AChild.kt
|
||||
End of files
|
||||
Cleaning output files:
|
||||
out/production/module3/foo/AGrandChild.class
|
||||
End of files
|
||||
Compiling files:
|
||||
module3/src/module3_AGrandChild.kt
|
||||
module3/src/module3_importAGrandChild.kt
|
||||
End of files
|
||||
Compiling files:
|
||||
module4/src/module4_importAGrandChild.kt
|
||||
End of files
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
module1->
|
||||
module2->module1[exported]
|
||||
module3->module2
|
||||
module4->module3
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
open class A {
|
||||
open fun f() {}
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
private open class A {
|
||||
open fun f() {}
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
open class A {
|
||||
open fun f() {}
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class AChild : A()
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class AGrandChild : AChild()
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package bar
|
||||
|
||||
import foo.AGrandChild
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package bar
|
||||
|
||||
import foo.AGrandChild
|
||||
Reference in New Issue
Block a user