FIR: inroduce FirFunInterfaceConstructorReferenceChecker

This commit is contained in:
ebukreev
2021-04-08 10:30:39 +03:00
committed by TeamCityServer
parent 531a0de399
commit d8a2f82cbd
15 changed files with 96 additions and 7 deletions
@@ -0,0 +1,7 @@
FILE: funInterfaceConstructorReference.kt
public abstract interface Test : R|kotlin/Any| {
public abstract fun foo(): R|kotlin/Unit|
}
public final val f: R|kotlin/reflect/KFunction1<kotlin/Function0<kotlin/Unit>, Test>| = ::R|/Test|
public get(): R|kotlin/reflect/KFunction1<kotlin/Function0<kotlin/Unit>, Test>|
@@ -0,0 +1,5 @@
fun interface Test {
fun foo()
}
val f = ::<!FUN_INTERFACE_CONSTRUCTOR_REFERENCE!>Test<!>