JS: Support imported wrapper serialization

This commit is contained in:
Anton Bannykh
2018-12-14 17:07:58 +03:00
parent 75668826d3
commit a30c7fbee1
7 changed files with 1949 additions and 51 deletions
@@ -17,6 +17,5 @@ class JsProgramFragment(val scope: JsScope, val packageFqn: String) {
val inlineModuleMap: MutableMap<String, JsExpression> = LinkedHashMap()
var tests: JsStatement? = null
var mainFunction: JsStatement? = null
// TODO serialize/deserialize; teach Merger about this thing
val inlinedFunctionWrappers = mutableMapOf<String, JsGlobalBlock>()
}