[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
@@ -0,0 +1,6 @@
|
||||
// !COMPILER_VERSION 2.0
|
||||
// SKIP_KT_DUMP
|
||||
|
||||
fun test() {
|
||||
for (i in 0..0) <!SINGLE_ANONYMOUS_FUNCTION_WITH_NAME_WARNING!>fun x() {}<!>
|
||||
}
|
||||
Reference in New Issue
Block a user