To reproduce create two files a.mjs and b.mjs and run qjs a.mjs.
a.mjs:
import { fb } from "./b.mjs";
export { fb };
b.mjs:
import * as $a from "a.mjs";
export function fb() {};
There is no crash if export { fb }; is removed from a.mjs or the import in b.mjs is changed to import {} from "a.mjs";.
To reproduce create two files
a.mjsandb.mjsand runqjs a.mjs.a.mjs:
b.mjs:
There is no crash if
export { fb };is removed froma.mjsor the import inb.mjsis changed toimport {} from "a.mjs";.