blob: 10e1c4bccdb5702d2f2081c6600dc9b731795749 [file]
// RUN_PIPELINE_TILL: FRONTEND
// LANGUAGE: +ContextParameters
context(ctx: T)
fun <T> implicit(): T = ctx
class A
context(a: A)
fun A.funMember() {
<!AMBIGUOUS_CONTEXT_ARGUMENT!>implicit<!><A>()
}
/* GENERATED_FIR_TAGS: classDeclaration, funWithExtensionReceiver, functionDeclaration, functionDeclarationWithContext,
nullableType, typeParameter */