Skip to content

Use proper method of not resolving alias#9054

Merged
3 commits merged into
masterfrom
quick_info_meaning
Jun 9, 2016
Merged

Use proper method of not resolving alias#9054
3 commits merged into
masterfrom
quick_info_meaning

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jun 9, 2016

Fixes #6456

@ghost ghost force-pushed the quick_info_meaning branch from 390a7a1 to b08fe6f Compare June 9, 2016 15:00
@ghost ghost assigned sandersn Jun 9, 2016
Comment thread src/compiler/checker.ts Outdated

// Resolves a qualified name and any involved aliases
function resolveEntityName(name: EntityName | Expression, meaning: SymbolFlags, ignoreErrors?: boolean, dontResolveAlias?: boolean): Symbol {
function resolveEntityName(name: EntityName | Expression, meaning: SymbolFlags, ignoreErrors = false, dontResolveAlias = false): Symbol {
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.

Do not see the reason for the initialization. two additional operations, not used for the commandline compilation scenarios.

@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Jun 9, 2016

just one comment about the initialization, and other than that looks good. thanks!

@sheetalkamat
Copy link
Copy Markdown
Member

👍

@ghost ghost merged commit 302cea8 into master Jun 9, 2016
@ghost ghost deleted the quick_info_meaning branch June 9, 2016 19:37
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
This pull request was closed.
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.

4 participants