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,9 @@
class MyClass() {
companion object {
fun test(s: String, x:Int = 10) {}
}
}
// TESTED_OBJECT_KIND: function
// TESTED_OBJECTS: MyClass$Companion, test$default
// FLAGS: ACC_PUBLIC, ACC_STATIC, ACC_BRIDGE, ACC_SYNTHETIC