Tags: wangshuli0315/binaryen
Tags
[GC] Fix parsing/printing of ref types using i31 (WebAssembly#3469) This lets us parse (ref null i31) and (ref i31) and not just i31ref. It also fixes the parsing of i31ref, making it nullable for now, which we need to do until we support non-nullability. Fix some internal handling of i31 where we had just i31ref (which meant we just handled the non-nullable type). After fixing a bug in printing (where we didn't print out (ref null i31) properly), I found some a simplification, to remove TypeName.
Move optional metadata field so its not last (WebAssembly#2909) To avoid the conditional trailing comma.
PreviousNext