Add incremental compilation test with change of annotation class

Original commit: 1ef615e020
This commit is contained in:
Alexey Tsvetkov
2016-01-15 15:44:29 +03:00
parent 9d71fd4b21
commit cc979e34b1
12 changed files with 54 additions and 0 deletions
@@ -0,0 +1 @@
annotation class Ann1
@@ -0,0 +1 @@
annotation class Ann1
@@ -0,0 +1 @@
annotation class Ann2
@@ -0,0 +1,32 @@
Cleaning output files:
out/production/module/Ann1.class
End of files
Compiling files:
src/Ann1.kt
End of files
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/UseAnn1.class
out/production/module/UseAnn1FunKt.class
out/production/module/UseAnn1ValKt.class
End of files
Compiling files:
src/UseAnn1Class.kt
src/useAnn1Fun.kt
src/useAnn1Val.kt
End of files
COMPILATION FAILED
'Ann1' is not an annotation class
'Ann1' is not an annotation class
'Ann1' is not an annotation class
Cleaning output files:
out/production/module/Ann1.class
End of files
Compiling files:
src/Ann1.kt
src/UseAnn1Class.kt
src/useAnn1Fun.kt
src/useAnn1Val.kt
End of files
@@ -0,0 +1,2 @@
@Ann1
fun useAnn1() {}
@@ -0,0 +1,2 @@
@Ann1
val useAnn1Val = 0
@@ -0,0 +1,2 @@
@Ann2
fun useAnn2() {}
@@ -0,0 +1,2 @@
@Ann2
val useAnn2Val = 0