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
error: Uncaught Cannot resolve module "./d.js" from "file:///tmp/c.js"
Let's edit b.js to this
// b.jsimport'./a.js';import'./c.js';
Then run
deno --allow-read index.js
It crash with:
error: Uncaught Cannot resolve module "./c.js" from "file:///tmp/b.js"
when we dynamically import b.js and a.js in index.js concurrently, and b.js first;
and a.js and b.js statically import each other;
then we cannot statically import anything in b.js after import a.js.
and we cannot statically import anything in c.js that imported by b.js before b.js import a.js.
// b.jsimport'./a.js';// cannot statically import anything here
// c.js// cannot statically import anything here
This BUG exists since we support import(). I've encountered it several times.
The first time is under 0.15 or 0.16. Today I, finally find out how to reproduce it.
The text was updated successfully, but these errors were encountered:
Files like this:
// d.js
Then lets run with
It crash with:
Let's edit
b.js
to thisThen run
It crash with:
This BUG exists since we support
import()
. I've encountered it several times.The first time is under 0.15 or 0.16. Today I, finally find out how to reproduce it.
The text was updated successfully, but these errors were encountered: