Incremental compilation test for @file:JvmName

This commit is contained in:
Dmitry Petrov
2015-09-07 15:23:49 +03:00
parent c18f87f0c7
commit 37d5a16a3d
8 changed files with 52 additions and 0 deletions
@@ -0,0 +1,3 @@
package test
fun a() = "a"
@@ -0,0 +1,3 @@
package test
fun b() = "b"
@@ -0,0 +1,4 @@
@file:JvmName("B")
package test
fun b() = "b"
@@ -0,0 +1,23 @@
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/test/BKt.class
out/production/module/test/TestPackage.class
out/production/module/test/UsageKt.class
End of files
Compiling files:
src/b.kt
src/usage.kt
End of files
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/other/OtherKt.class
out/production/module/other/OtherPackage.class
out/production/module/test/AKt.class
out/production/module/test/TestPackage.class
out/production/module/test/UsageKt.class
End of files
Compiling files:
src/a.kt
src/other.kt
src/usage.kt
End of files
@@ -0,0 +1,3 @@
package other
fun other() = "other"
@@ -0,0 +1,5 @@
package test
fun main(args: Array<String>) {
println(a() + b() + other.other())
}
@@ -0,0 +1,5 @@
package test
fun main(args: Array<String>) {
println(a() + b() + other.other())
}