WebAssembly / gc

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

Typo in 2.3.3 Heap Types section #412

Closed AlienKevin closed 1 year ago

AlienKevin commented 1 year ago

File: https://github.com/WebAssembly/gc/blob/main/document/core/syntax/types.rst

Under section 2.3.3 Heap Types, there seems to be a typo in the following paragraph:

The values from the latter two hierarchies are interconvertible by ways of the extern.internalize and extern.internalize instructions. That is, both type hierarchies are inhabited by an isomorphic set of values, but may have different, incompatible representations in practice.

The second extern.interalize should be extern.externalize.

rossberg commented 1 year ago

Thanks, should be fixed now.