Skip to content

Fix #3764#3770

Merged
RyanCavanaugh merged 5 commits into
microsoft:masterfrom
RyanCavanaugh:fix3764
Jul 7, 2015
Merged

Fix #3764#3770
RyanCavanaugh merged 5 commits into
microsoft:masterfrom
RyanCavanaugh:fix3764

Conversation

@RyanCavanaugh
Copy link
Copy Markdown
Member

We weren't marking React as used when using JSX elements in --jsx React, which caused the import of that symbol to be elided.

Fix: Mark this symbol as used and issue an error if it can't be found.

Ref #3764

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

Space after if

@DanielRosenwasser
Copy link
Copy Markdown
Member

👍 after feedback is addressed

@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Jul 7, 2015

👍

@JsonFreeman
Copy link
Copy Markdown
Contributor

Wasn't this the second "marking something as used" bug having to do with JSX? This "marking something as used" thing is... pretty annoying.

RyanCavanaugh added a commit that referenced this pull request Jul 7, 2015
@RyanCavanaugh RyanCavanaugh merged commit 719498e into microsoft:master Jul 7, 2015
@RyanCavanaugh RyanCavanaugh deleted the fix3764 branch July 7, 2015 21:38
@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