diff options
author | Daniel Wirtz <dcode@dcode.io> | 2020-09-30 00:15:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 00:15:33 +0200 |
commit | 67a96ae60085366b59d64bc997c9e6525c247e27 (patch) | |
tree | 76338e649b18b572c5ad184641c029b16344f0f2 /test/newsyntax.wast.fromBinary | |
parent | 7d673ce83206349159a68fe683bc7da02dcdaf98 (diff) | |
download | binaryen-67a96ae60085366b59d64bc997c9e6525c247e27.tar.gz binaryen-67a96ae60085366b59d64bc997c9e6525c247e27.tar.bz2 binaryen-67a96ae60085366b59d64bc997c9e6525c247e27.zip |
Fix applying default / unify SExpr and Wasm builder names (#3179)
SExpressionWasmBuilder was not applying default memory and table import names on the memory and table, unlike on functions, globals and events, where it applies them. Also aligns default import names to use the same shorter forms as in binary parsing.
Diffstat (limited to 'test/newsyntax.wast.fromBinary')
-rw-r--r-- | test/newsyntax.wast.fromBinary | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/newsyntax.wast.fromBinary b/test/newsyntax.wast.fromBinary index aaf9b1285..ea3b1ac9a 100644 --- a/test/newsyntax.wast.fromBinary +++ b/test/newsyntax.wast.fromBinary @@ -1,7 +1,7 @@ (module (type $none_=>_none (func)) (type $i32_f64_=>_i32 (func (param i32 f64) (result i32))) - (import "env" "table" (table $0 9 9 funcref)) + (import "env" "table" (table $timport$0 9 9 funcref)) (export "call_indirect" (func $0)) (func $0 (drop |