chore: remove usage of globalscope declaration.

This commit is contained in:
Artem Kobzar
2022-04-11 20:33:20 +00:00
committed by Space
parent f142599243
commit fc4c745cc4
5 changed files with 4 additions and 13 deletions
@@ -31,7 +31,7 @@ class JsCallTransformer(private val jsOrJsFuncCall: IrCall, private val context:
0 -> JsEmpty
1 -> newStatements.single().withSource(jsOrJsFuncCall, context)
// TODO: use transparent block (e.g. JsCompositeBlock)
else -> JsGlobalBlock().apply { statements += newStatements }
else -> JsCompositeBlock().apply { statements += newStatements }
}
}