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
fafb1a877e851f84c71de6531fe37de2c7700c29
Move modularization code into js compiler
Prior to this change the mudularization was done as a post-processing
step in python. This complicated things since acorn and closure passes
would only see the inner code and not the whole module.
One concrete benefit is that we can now use `await` in the body of the
factory function since closure no longer sees it as top level (which it
isn't).
Fixes: emscripten-core#23158, emscripten-core#23283
This is because the module code that defines the
__exp_
variables is run through closure compiler but the code that uses this is not.See #23158
The text was updated successfully, but these errors were encountered: