Skip to content

Correctly identify identifiers inside JSX exprs as expression identifiers#3955

Merged
RyanCavanaugh merged 2 commits into
microsoft:masterfrom
RyanCavanaugh:fix3928
Jul 22, 2015
Merged

Correctly identify identifiers inside JSX exprs as expression identifiers#3955
RyanCavanaugh merged 2 commits into
microsoft:masterfrom
RyanCavanaugh:fix3928

Conversation

@RyanCavanaugh
Copy link
Copy Markdown
Member

Fixes bug #3928.

I am inclined to start a campaign to make as many of our switch statements in the compiler exhaustive as possible?

@danquirk
Copy link
Copy Markdown
Member

Exhaustiveness checking would be good :)

Comment thread src/compiler/emitter.ts Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Should be removed?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Oops

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

For the future, can you set your user settings to "translate_tabs_to_spaces": true?

@DanielRosenwasser
Copy link
Copy Markdown
Member

:shipit:

RyanCavanaugh added a commit that referenced this pull request Jul 22, 2015
Correctly identify identifiers inside JSX exprs as expression identifiers
@RyanCavanaugh RyanCavanaugh merged commit 8fcca92 into microsoft:master Jul 22, 2015
@RyanCavanaugh RyanCavanaugh deleted the fix3928 branch July 28, 2015 17:02
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 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.

5 participants