-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:OS:
node.js / npm versions:
Additional info:
-
2
-
Not Needed
Users should be able to use import('foo'), but that doesn’t work right now because the async rewriter doesn’t know that literal import calls have special meaning. We can apply the same logic that we use for eval here to work around this.
This only solves the problem partially – the linked Node.js ticket refers to segfaults that happen when one input line in the REPL defines a function that calls import() which is then called again later.