Fix incremental compilation of inline call assigned to val

This commit is contained in:
Alexey Tsvetkov
2015-09-04 22:11:27 +03:00
parent a660562743
commit 61423a19f0
7 changed files with 39 additions and 2 deletions
@@ -0,0 +1,14 @@
Cleaning output files:
out/production/module/inline/InlinePackage$inline$*.class
out/production/module/inline/InlinePackage.class
End of files
Compiling files:
src/inline.kt
End of files
Cleaning output files:
out/production/module/usage/UsagePackage$usage$*.class
out/production/module/usage/UsagePackage.class
End of files
Compiling files:
src/usage.kt
End of files
@@ -0,0 +1,5 @@
package inline
inline fun f(): Int {
return 0
}
@@ -0,0 +1,5 @@
package inline
inline fun f(): Int {
return 1
}
@@ -0,0 +1,3 @@
package usage
fun other() {}
@@ -0,0 +1,3 @@
package usage
val x = inline.f()