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 was archived by the owner on Jul 13, 2020. It is now read-only.
ensureEvaluated does not use the correct loader during evaluation, the one that is passed. Instead it always uses global.System as the loader. This breaks code that makes use of loaders not called global.System.
Traceur produces code that looks like:
System.register("basics/es6module", ['basics/amdmodule'], function($__0) { "use strict";
var __moduleName = "basics/es6module";
var amdMod = System.get($__0).default;
...
;});
During transpile, global.System is set to global.traceurSystem. After transpile, it is set back to the original global.System.
However, it should be then temporarily set to the "loader" argument of ensureEvaluated. After __eval is called System should then be set back to the original global.System.