[K2] Disallow named functions as expressions
^KT-62573 Fixed ^KT-59945 Fixed
This commit is contained in:
committed by
Space Team
parent
aaf7ccbebd
commit
f227447837
+1
@@ -1,5 +1,6 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_ANONYMOUS_PARAMETER -UNUSED_VARIABLE
|
||||
// !CHECK_TYPE
|
||||
// !COMPILER_VERSION 2.0
|
||||
fun foo(block: () -> (() -> Int)) {}
|
||||
|
||||
fun test() {
|
||||
|
||||
Reference in New Issue
Block a user