Always enable modules in Jint.Repl for dynamic import by ivankra · Pull Request #2356 · sebastienros/jint (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Merged
merged 1 commit into
Mar 24, 2026
Conversation
Dynamic import can be used even if the script itself is not a module. There are about 50 such tests in test262 that would previously fail with "Module loading has been disabled, you need to enable it in engine options" e.g. test/language/expressions/dynamic-import/always-create-new-promise.js
Dynamic import can be used even if the script itself is not a module. There are about 50 such tests in test262 that would previously fail with "Module loading has been disabled, you need to enable it in engine options" e.g. test/language/expressions/dynamic-import/always-create-new-promise.js
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
This was referenced
Mar 27, 2026
This was referenced
Jun 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})