[FIR] Prohibit suspend anonymous functions in statement position
^KT-62018 Fixed ^KT-62019
This commit is contained in:
committed by
Space Team
parent
cae6e0ee0f
commit
fb00c1dfb6
@@ -0,0 +1,7 @@
|
||||
// ISSUE: KT-57991
|
||||
|
||||
fun foo() {
|
||||
<!ANONYMOUS_SUSPEND_FUNCTION!>suspend<!> fun() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,3 @@
|
||||
// FIR_IDENTICAL
|
||||
// ISSUE: KT-57991
|
||||
|
||||
fun foo() {
|
||||
|
||||
Reference in New Issue
Block a user