Skip to content

Revert "Emit, even in the presence of declaration errors and noEmitOnError #2470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 24, 2015

Conversation

CyrusNajmabadi
Copy link
Contributor

This reverts commit 19517ac.

The impact of this change is that we will now no longer emit in the presence of declaration errors, if the user has noEmitOnError set to true.

Performance-wise, this seems to add about 1% to the overall compile time (i tested using the compiler). This seems like a reasonable cost in order to implement the noEmitOnError feature correctly.

@CyrusNajmabadi CyrusNajmabadi changed the title Revert "Emit, even in the presence of declaration errors and noEmitOnErr... Revert "Emit, even in the presence of declaration errors and noEmitOnError Mar 23, 2015
@mhegazy
Copy link
Contributor

mhegazy commented Mar 24, 2015

👍 thanks!

CyrusNajmabadi added a commit that referenced this pull request Mar 24, 2015
Revert "Emit, even in the presence of declaration errors and noEmitOnError
@CyrusNajmabadi CyrusNajmabadi merged commit 9141bfc into master Mar 24, 2015
@CyrusNajmabadi CyrusNajmabadi deleted the noEmitOnDeclarationErrors branch March 24, 2015 19:25
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 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