Fix missing error on fun interface constructor reference
#KT-51843 Fixed
This commit is contained in:
Vendored
+3
@@ -8,3 +8,6 @@ fun interface Foo {
|
||||
val x = ::Foo
|
||||
val y = Foo { }
|
||||
val z = ::<!JAVA_SAM_INTERFACE_CONSTRUCTOR_REFERENCE!>Runnable<!>
|
||||
val w = id(::Foo)
|
||||
|
||||
fun <T> id(t: T): T = t
|
||||
|
||||
Reference in New Issue
Block a user