Prohibit functional interface constructor references
#KT-36706 Fixed
This commit is contained in:
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
fun interface Foo {
|
||||
fun run()
|
||||
}
|
||||
|
||||
val x = ::Foo
|
||||
val y = Foo { }
|
||||
val z = ::Runnable
|
||||
Reference in New Issue
Block a user