LibJS: Handle empty named export

This is an export which looks like `export {} from "module"`, and
although it doesn't have any real export entries it should still add
"module" to the required modules to load.
This commit is contained in:
davidot
2022-08-29 22:12:25 +02:00
committed by Linus Groh
parent f75c51b097
commit 3b1c3e574f
Notes: sideshowbarker 2024-07-18 03:20:18 +09:00
10 changed files with 60 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
Base/home/anon/Source/js
Userland/Libraries/LibJS/Tests/invalid-lhs-in-assignment.js
Userland/Libraries/LibJS/Tests/unicode-identifier-escape.js
Userland/Libraries/LibJS/Tests/modules/failing.mjs