Skip to content

Conversation

@Josh-Cena
Copy link
Contributor

Fixes #51554

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Nov 16, 2022
@Josh-Cena Josh-Cena force-pushed the fix-dynamic-import-again branch from 8dc9006 to a667884 Compare November 16, 2022 19:28
const path = `${directory}\\moduleFile`;
_a = yield path, Promise.resolve().then(() => require(_a));
Promise.resolve(`${yield path}`).then(s => require(s));
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous behavior here looked exactly like the bug because they would all import the same thing...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4.9.3 commonjs output regression: Dynamical path import()s inside sync for-of are all called with the same parameter

3 participants