WebAssembly / function-references

Proposal for Typed Function References
https://webassembly.github.io/function-references/
Other
101 stars 15 forks source link

Separate subsumption from instr sequencing #90

Closed rossberg closed 1 year ago

rossberg commented 1 year ago

This refactors some of the instruction typing rules by defining a separate subtyping rule on instruction types and a corresponding subsumption rule, instead of special-casing it in various rules.

Simplifies the some rules and allows a standard formulation of the principal types property.

@conrad-watt, PTAL.