1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:27:43 +00:00

LibJS: Only check for duplicate exports if they have a name

Together with removing an incorrect VERIFY this allows multiple star
imports in a single module.
This commit is contained in:
davidot 2022-09-01 22:55:02 +02:00 committed by Linus Groh
parent 3b56043612
commit 462c6df24b
4 changed files with 9 additions and 3 deletions

View file

@ -0,0 +1,4 @@
import * as ns1 from "./default-and-star-export.mjs";
import * as ns2 from "./default-and-star-export.mjs";
export const passed = ns1 === ns2;