blob: bfc513f3b1de0addc3629cc031cfba096a51c711 [file]
// RUN_PIPELINE_TILL: CODEGEN
// ISSUE: KT-69870
// LANGUAGE: +MultiPlatformProjects
import O.foo
class C
interface I {
fun C.foo(s: String = "asdf")
}
object O : I {
override fun C.foo(s: String) {
}
}
fun bar(block: C.() -> Unit) {
}
fun test() {
bar {
foo()
}
}
/* GENERATED_FIR_TAGS: classDeclaration, funWithExtensionReceiver, functionDeclaration, functionalType,
interfaceDeclaration, lambdaLiteral, objectDeclaration, override, stringLiteral, typeWithExtension */