Skip to content

Conversation

weswigham
Copy link
Member

Fixes #16641

@mhegazy
Copy link
Contributor

mhegazy commented Aug 24, 2017

Please port this to release-2.5

@weswigham weswigham merged commit 643a7e7 into microsoft:master Aug 25, 2017
@weswigham weswigham deleted the dynamic-import-export-assignment branch August 25, 2017 00:09
weswigham added a commit to weswigham/TypeScript that referenced this pull request Aug 25, 2017
…ement (microsoft#18028)

* Call dynamic import transform on expression used by export equal statement

* Use Debug.fail
weswigham added a commit that referenced this pull request Aug 25, 2017
…ement (#18028) (#18033)

* Call dynamic import transform on expression used by export equal statement

* Use Debug.fail
currentModuleInfo.exportEquals.expression
)
);
const expressionResult = importCallExpressionVisitor(currentModuleInfo.exportEquals.expression);
Copy link
Contributor

Choose a reason for hiding this comment

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

This should have been visitNode(currentModuleInfo.exportEquals.expression, importCallExpressionVisitor, isExpression) as it does the necessary validation you're doing on 435-437 for you.

@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants