Do not recompile files compiled in current round

This commit is contained in:
Alexey Tsvetkov
2015-12-01 22:06:00 +03:00
parent 19089f8b17
commit 4800cff87f
14 changed files with 99 additions and 18 deletions
@@ -7,9 +7,7 @@ End of files
Cleaning output files:
out/production/module/X$main$1.class
out/production/module/X.class
out/production/module/Y.class
End of files
Compiling files:
src/fun.kt
src/usage.kt
End of files
End of files
@@ -0,0 +1,9 @@
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/foo/InlineKt.class
out/production/module/foo/UsageKt.class
End of files
Compiling files:
src/inline.kt
src/usage.kt
End of files
@@ -0,0 +1,3 @@
package foo
inline fun f(): Int = 0
@@ -0,0 +1,3 @@
package foo
inline fun f(): Int = 1
@@ -0,0 +1,5 @@
package foo
fun useF() {
println(f())
}
@@ -0,0 +1,6 @@
package foo
fun useF() {
println(f())
println(f())
}
@@ -0,0 +1,16 @@
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/foo/InlineKt.class
End of files
Compiling files:
src/inline.kt
End of files
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/foo/InlineKt.class
End of files
Compiling files:
src/inline.kt
End of files
@@ -0,0 +1,7 @@
package foo
fun test() {
println(f())
}
inline fun f(): Int = 0
@@ -0,0 +1,7 @@
package foo
fun test() {
println(f())
}
inline fun f(): Int = 1
@@ -0,0 +1,9 @@
package foo
fun test() {
println(f())
println(g())
}
inline fun f(): Int = 1
inline fun g(): Int = 1