Skip to content

Conversation

@mhegazy
Copy link
Contributor

@mhegazy mhegazy commented Sep 4, 2014

This fixes a crash in the compiler when generating declarations with /// reference and noResolve

…lve flag was set. This fixes a crash in the compiler when generating declarations with /// reference and noResolve
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? If it is not noResolve, the reference files should always be searched. and found

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a defensive check, in case the caller ignores resolution errors.

@sheetalkamat
Copy link
Member

👍

mhegazy added a commit that referenced this pull request Sep 5, 2014
Do not emit references in generated declaration files if the --noresolve flag was set
@mhegazy mhegazy merged commit edbc41b into master Sep 5, 2014
@mhegazy mhegazy deleted the emitDeclarationWithNoResolve branch September 5, 2014 21:52
@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