You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Scope definitions should not depend on JSON member order #401
Thanks for raising this! We can't rely on member order, but how about this: #408 makes order irrelevant by allowing members of a define to reference each other (or reference identifiers defined outside the block). Cycles are explicitly prohibited. This is already how pointers work for things like .length referencing .offset, so I think it makes sense to extend this to members within a define block. Let me know if this suffices please!
Activity
gnidan commentedon Nov 10, 2026
Thanks for raising this! We can't rely on member order, but how about this: #408 makes order irrelevant by allowing members of a
defineto reference each other (or reference identifiers defined outside the block). Cycles are explicitly prohibited. This is already how pointers work for things like.lengthreferencing.offset, so I think it makes sense to extend this to members within adefineblock. Let me know if this suffices please!