Skip to content

[Master] Language Service on Dynamic import#16406

Merged
yuit merged 4 commits into
masterfrom
master-fix16402
Jun 13, 2017
Merged

[Master] Language Service on Dynamic import#16406
yuit merged 4 commits into
masterfrom
master-fix16402

Conversation

@yuit
Copy link
Copy Markdown
Contributor

@yuit yuit commented Jun 9, 2017

Fix #16402 ...

  • Port change to release-2.4

@yuit yuit changed the title [Master] LS - Fix 16402 [Master] Language Service on Dynamic iMport Jun 9, 2017
@yuit yuit changed the title [Master] Language Service on Dynamic iMport [Master] Language Service on Dynamic import Jun 9, 2017
Comment thread src/compiler/checker.ts Outdated
return undefined;

case SyntaxKind.StringLiteral:
// import x = require("./mo/*gotToDefinitionHere*/d")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can we unify all these conditions.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We can but I split them so that it is a bit easier to read.... I guess i can put them in one condition and make comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yes please.

Copy link
Copy Markdown
Contributor

@mhegazy mhegazy left a comment

Choose a reason for hiding this comment

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

with simplification of the condition in getSymbolAtLocation

@yuit yuit merged commit 23f618b into master Jun 13, 2017
@yuit yuit deleted the master-fix16402 branch June 13, 2017 17:22
@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Jun 13, 2017

Please port this to release-2.4

@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.

3 participants