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 }}
This repository has been archived by the owner on May 11, 2020. It is now read-only.
The execution of case getGlobal in ExecInitExpr depends on runtime imports to work correctly. We don't have that information before imports get resolved and therefore cannot execute init expressions ahead of time.
The text was updated successfully, but these errors were encountered:
In the MVP, to keep things simple while still supporting the basic needs of dynamic linking, initializer expressions are restricted to the following nullary operators:
- the four constant operators; and
- get_global, where the global index must refer to an immutable import.
The current implementation appears to work for globals that are defined before the global referencing it is defined (index-wise) - does that not suit?
I guess we could re-order module initialization or do two passes to resolve this if necessary.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The execution of
case getGlobal
inExecInitExpr
depends on runtime imports to work correctly. We don't have that information before imports get resolved and therefore cannot execute init expressions ahead of time.The text was updated successfully, but these errors were encountered: