Skip to content

Disallow modifiers in object literal property assignment#5996

Merged
RyanCavanaugh merged 4 commits into
microsoft:masterfrom
RyanCavanaugh:fix5994
Dec 9, 2015
Merged

Disallow modifiers in object literal property assignment#5996
RyanCavanaugh merged 4 commits into
microsoft:masterfrom
RyanCavanaugh:fix5994

Conversation

@RyanCavanaugh

Copy link
Copy Markdown
Member

Fixes bug #5994

@mhegazy

mhegazy commented Dec 8, 2015

Copy link
Copy Markdown
Contributor

looks good.

@RyanCavanaugh

Copy link
Copy Markdown
Member Author

Need to revise since async is valid

@DanielRosenwasser

Copy link
Copy Markdown
Member

@RyanCavanaugh I dont see tests for async though.

@RyanCavanaugh

Copy link
Copy Markdown
Member Author

@sandersn

sandersn commented Dec 8, 2015

Copy link
Copy Markdown
Member

👍

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

looks like body of then statements is the same in both if statements, can you merge them?

RyanCavanaugh added a commit that referenced this pull request Dec 9, 2015
Disallow modifiers in object literal property assignment
@RyanCavanaugh RyanCavanaugh merged commit 383cbf0 into microsoft:master Dec 9, 2015
@RyanCavanaugh RyanCavanaugh deleted the fix5994 branch December 9, 2015 01:40
@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.

6 participants