Files
kotlin/compiler/testData/writeFlags/function/withDefaultArguments/funInClassObject.kt
Mikhael Bogdanov f3f93ed6cc Get rid of 'BRIDGE' flag on $default functions
#KT-24415 Fixed
2018-09-06 13:34:00 +02:00

10 lines
224 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_SYNTHETIC