WebAssembly / gc

Branch of the spec repo scoped to discussion of GC integration in WebAssembly
https://webassembly.github.io/gc/
Other
1k stars 73 forks source link

Fix test copy/paste typo #566

Closed ejrgilbert closed 4 weeks ago

tlively commented 4 weeks ago

Looks right, but curious that the tests weren't previously failing.

jakobkummerow commented 4 weeks ago

curious that the tests weren't previously failing.

i31.get_s and i31.get_u both trap on (ref.null i31), so this doesn't affect test results.

tlively commented 4 weeks ago

Ah, I misread and though that this function was used to test non-null cases.