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 @@
class A<T : B>(x: T)
@@ -0,0 +1 @@
class A<T : Any>(x: T)
@@ -0,0 +1,3 @@
abstract class AStarDeclaration {
abstract val a: A<*>
}
@@ -0,0 +1,3 @@
open class B {
fun f() {}
}
@@ -0,0 +1,3 @@
class CallGetAStar {
val a = getAStar()
}
@@ -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
@@ -0,0 +1 @@
fun getAStar(): A<*> = A(B())