Add tests for class hierarchy incremental recompilation
This commit is contained in:
Vendored
+1
@@ -0,0 +1 @@
|
||||
class A<T : B>(x: T)
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
class A<T : Any>(x: T)
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
abstract class AStarDeclaration {
|
||||
abstract val a: A<*>
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
open class B {
|
||||
fun f() {}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class CallGetAStar {
|
||||
val a = getAStar()
|
||||
}
|
||||
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
Cleaning output files:
|
||||
out/production/module/A.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/A.kt
|
||||
End of files
|
||||
Cleaning output files:
|
||||
out/production/module/AStarDeclaration.class
|
||||
out/production/module/CallGetAStar.class
|
||||
out/production/module/GetAStarKt.class
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
End of files
|
||||
Compiling files:
|
||||
src/AStarDeclaration.kt
|
||||
src/CallGetAStar.kt
|
||||
src/getAStar.kt
|
||||
End of files
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
fun getAStar(): A<*> = A(B())
|
||||
Reference in New Issue
Block a user