Skip to content

Conversation

@RyanCavanaugh
Copy link
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
Copy link
Member

sandersn commented Dec 8, 2015

👍

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