Always enable modules in Jint.Repl for dynamic import by ivankra · Pull Request #2356 · sebastienros/jint (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

lahma

merged 1 commit into

Mar 24, 2026

Conversation

@ivankra

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

@ivankra @lahma

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

lahma

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 }})

2 participants

@ivankra @lahma