KT-47939 fixes after review
This commit is contained in:
committed by
TeamCityServer
parent
58f1504aaf
commit
50b0dae786
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +AllowKotlinFunInterfaceConstructorReference +ProhibitJavaSamInterfaceConstructorReference
|
||||
// !LANGUAGE: +AllowKotlinFunInterfaceConstructorReference
|
||||
|
||||
fun interface Foo {
|
||||
fun run()
|
||||
|
||||
Vendored
+2
-2
@@ -1,5 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: -AllowKotlinFunInterfaceConstructorReference -ProhibitJavaSamInterfaceConstructorReference
|
||||
// !LANGUAGE: -AllowKotlinFunInterfaceConstructorReference
|
||||
|
||||
fun interface Foo {
|
||||
fun run()
|
||||
@@ -7,4 +7,4 @@ fun interface Foo {
|
||||
|
||||
val x = ::<!FUN_INTERFACE_CONSTRUCTOR_REFERENCE!>Foo<!>
|
||||
val y = Foo { }
|
||||
val z = ::Runnable
|
||||
val z = ::<!JAVA_SAM_INTERFACE_CONSTRUCTOR_REFERENCE!>Runnable<!>
|
||||
|
||||
Reference in New Issue
Block a user