blob: c7fda5c29a99c6eea74d5e2c4f2e632ab298e32a [file]
// RUN_PIPELINE_TILL: BACKEND
// FIR_IDENTICAL
// 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 */