This repository was archived by the owner on Apr 25, 2025. It is now read-only.
This repository was archived by the owner on Apr 25, 2025. It is now read-only.
Move event section before global section #98
Closed
Description
The proposal currently positions the event section after the global section. However, it is perceivable that under some future extensions, the initialiser expressions for a global might be generalised such that they can contain instructions that refer to exceptions. At the same time, there is no apparent reason to assume that exception defs would ever need to refer to globals.
Thus, in order to keep validation as single-pass as possible, I'd propose switching the order of global and event section in the binary format.
Metadata
Metadata
Assignees
Labels
No labels