FIR: postpone callable reference candidate in default argument case
#KT-53019 Fixed
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
open class IrElement
|
||||
|
||||
fun IrElement.dumpKotlinLike(options: String = ""): String = "O"
|
||||
|
||||
fun IrElement.dump(normalizeNames: Boolean = false, stableOrder: Boolean = false): String = "K"
|
||||
|
||||
fun dump(data: IrElement, dumpStrategy: String): String {
|
||||
val dump: IrElement.() -> String = if (dumpStrategy == "KotlinLike") IrElement::dumpKotlinLike else IrElement::dump
|
||||
return data.dump()
|
||||
}
|
||||
Reference in New Issue
Block a user