fix KT-9843 Bug in incremental compilation: module is not recompiled when optional parameter added

and KT-8434 Removing parameter with default value from function in different module breaks incremental compilation

#KT-9843 Fixed

#KT-8434 Fixed
This commit is contained in:
Michael Nedzelsky
2015-11-05 20:48:33 +03:00
parent 3dbb117598
commit 981d471ebe
26 changed files with 194 additions and 1 deletions
@@ -0,0 +1,14 @@
Cleaning output files:
out/production/module1/META-INF/module1.kotlin_module
out/production/module1/a/Module1_aKt.class
End of files
Compiling files:
module1/src/module1_a.kt
End of files
Cleaning output files:
out/production/module2/META-INF/module2.kotlin_module
out/production/module2/usage/Module2_usageKt.class
End of files
Compiling files:
module2/src/module2_usage.kt
End of files
@@ -0,0 +1,2 @@
module1->
module2->module1
@@ -0,0 +1,3 @@
package a
fun foo(s: String, x: Int = 10) {}
@@ -0,0 +1,3 @@
package a
fun foo(s: String, x: Int = 10, y:Int = 20) {}
@@ -0,0 +1,5 @@
package usage
fun main(args: Array<String>) {
a.foo("")
}