chore: remove usage of globalscope declaration.
This commit is contained in:
+1
-1
@@ -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 }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user