FIR: postpone callable reference candidate in default argument case
#KT-53019 Fixed
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
open class IrElement {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
fun IrElement.dumpKotlinLike(options: String = ""): String {
|
||||
return "O"
|
||||
}
|
||||
|
||||
fun IrElement.dump(normalizeNames: Boolean = false, stableOrder: Boolean = false): String {
|
||||
return "K"
|
||||
}
|
||||
|
||||
fun dump(data: IrElement, dumpStrategy: String): String {
|
||||
val dump: @ExtensionFunctionType Function1<IrElement, String> = when {
|
||||
EQEQ(arg0 = dumpStrategy, arg1 = "KotlinLike") -> local fun dumpKotlinLike(p0: IrElement): String {
|
||||
return p0.dumpKotlinLike()
|
||||
}
|
||||
|
||||
else -> local fun dump(p0: IrElement): String {
|
||||
return p0.dump()
|
||||
}
|
||||
|
||||
}
|
||||
return dump.invoke(p1 = data)
|
||||
}
|
||||
Reference in New Issue
Block a user