blob: c982f2dc19154719f97aebff0d9a0d38d75b485e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
=== input wast ===
(module $hello
(global $world i32 (i32.const 0))
(func $of (param $wasm i32)
(local $!#$%&'*+-./:<=>?@\^_`|~ f64)
)
)
=== parsed wast ===
(module $hello
(type $i32_=>_none (func (param i32)))
(global $world i32 (i32.const 0))
(func $of (param $wasm i32)
(local $!#$%&'*+-./:<=>?@\^_`|~ f64)
(nop)
)
)
=== roundtripped ===
(module $hello
(type $i32_=>_none (func (param i32)))
(global $global$0 i32 (i32.const 0))
(func $of (param $js i32)
(local $!#$%&'*+-./:<=>?@\^_`|~ f64)
(nop)
)
)
|