New J2K: Fix creating expression instead of statement
This commit is contained in:
committed by
Ilya Kirillov
parent
4a9ba3c756
commit
71780ef442
@@ -37,7 +37,7 @@ class BlockToRunConversion(private val context: ConversionContext) : RecursiveAp
|
||||
emptyList()
|
||||
)
|
||||
val call = JKKtCallExpressionImpl(runSymbol as JKMethodSymbol, JKExpressionListImpl(listOf(lambda)))
|
||||
return recurse(call)
|
||||
return recurse(JKExpressionStatementImpl(call))
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user