Skip to content

Support new import / export syntax in preProcessFile#2140

Merged
mhegazy merged 4 commits into
masterfrom
lsImportResolution
Feb 28, 2015
Merged

Support new import / export syntax in preProcessFile#2140
mhegazy merged 4 commits into
masterfrom
lsImportResolution

Conversation

@mhegazy
Copy link
Copy Markdown
Contributor

@mhegazy mhegazy commented Feb 25, 2015

No description provided.

Comment thread src/services/services.ts Outdated
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.

why not just while (token !== SyntaxKind.CloseBraceToken)? when we might expect another OpenBraceToken?

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.

i was thinking of an unterminated brace, and did not want to eat up the whole file.. thought it does not make much difference..

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.

If you gonna leave the !== SyntaxKind.OpenBraceToken could you make comment of why you do that? I have similar question as @vladima

@vladima
Copy link
Copy Markdown
Contributor

vladima commented Feb 28, 2015

👍

mhegazy added a commit that referenced this pull request Feb 28, 2015
Support new import / export syntax in preProcessFile
@mhegazy mhegazy merged commit 70d5f9c into master Feb 28, 2015
@mhegazy mhegazy deleted the lsImportResolution branch February 28, 2015 13:03
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 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