blob: 5cbcb99e0d36b9c98590bdc5f2c98b5b345bdbe5 [file]
// RUN_PIPELINE_TILL: FRONTEND
package test
open class ToResolve<SomeClass>(f : (Int) -> Int)
fun testFun(a : Int) = 12
class TestSome<P> {
companion object : ToResolve<<!UNRESOLVED_REFERENCE!>P<!>>({testFun(it)}) {
}
}
/* GENERATED_FIR_TAGS: classDeclaration, companionObject, functionDeclaration, functionalType, integerLiteral,
lambdaLiteral, nullableType, objectDeclaration, primaryConstructor, typeParameter */