Skip to content

Parse JSX attributes as AssignmentExpressions#5993

Merged
RyanCavanaugh merged 1 commit into
microsoft:masterfrom
RyanCavanaugh:fix5991
Dec 8, 2015
Merged

Parse JSX attributes as AssignmentExpressions#5993
RyanCavanaugh merged 1 commit into
microsoft:masterfrom
RyanCavanaugh:fix5991

Conversation

@RyanCavanaugh

Copy link
Copy Markdown
Member

We should issue an error when parsing <div x={1, 2} /> as the comma operator is not a legal production in a JSX Expression

Fixes (mitigates?) bug #5991

We should issue an error when parsing `<div x={1, 2} />` as the comma operator is not a legal production in a JSX Expression

Fixes (mitigates?) bug microsoft#5991
@sandersn

sandersn commented Dec 8, 2015

Copy link
Copy Markdown
Member

👍

RyanCavanaugh added a commit that referenced this pull request Dec 8, 2015
Parse JSX attributes as AssignmentExpressions
@RyanCavanaugh RyanCavanaugh merged commit 992bd7a into microsoft:master Dec 8, 2015
@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.

3 participants