Skip to content

Fix missing alias for decorated classes in es5#12247

Merged
mhegazy merged 1 commit into
masterfrom
fix10840
Nov 15, 2016
Merged

Fix missing alias for decorated classes in es5#12247
mhegazy merged 1 commit into
masterfrom
fix10840

Conversation

@rbuckton
Copy link
Copy Markdown
Contributor

The new emitter runs decorators outside of the IIFE created to emulate a class declaration in ES5, and as a result we need to emit the same class alias we emit for ES6.

Fixes #10840

// cc: @mhegazy, @yuit

@mhegazy mhegazy merged commit ddf2ad4 into master Nov 15, 2016
@mhegazy mhegazy deleted the fix10840 branch November 15, 2016 01:09
@ahagelstein
Copy link
Copy Markdown

This fix also affects #11322. Thanks.

@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