start binary format support

This commit is contained in:
Ilya Rezvov
2018-02-18 19:03:21 -08:00
parent f6a2daefcc
commit 75bdf0637f
5 changed files with 132 additions and 2 deletions
+1 -1
View File
@@ -1172,7 +1172,7 @@ desugarize fields =
start = extractStart fields,
exports = []
} in
S.emptyModule {
S.Module {
S.types = map synTypeDefToStruct $ types mod,
S.functions = map (synFunctionToStruct mod) $ functions mod,
S.tables = map synTableToStruct $ tables mod,