[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
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
FILE: suspendCallFromAnonymousSuspend.kt
|
||||
FILE: suspendCallFromAnonymousSuspend.fir.kt
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
suspend fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
R|/bar|()
|
||||
|
||||
Reference in New Issue
Block a user