Files
kotlin/compiler/testData/writeFlags/function/withDefaultArguments/funInClassObject.kt
Michael Nedzelsky 981d471ebe 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
2015-11-06 07:45:46 +03:00

10 lines
236 B
Kotlin
Vendored

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