update comment text
This commit is contained in:
parent
a9df539b7e
commit
07dbd30ba1
1 changed files with 3 additions and 3 deletions
|
@ -8242,8 +8242,8 @@ module ts {
|
|||
localVarDeclList.parent.kind === SyntaxKind.VariableStatement &&
|
||||
localVarDeclList.parent.parent;
|
||||
|
||||
// if block scoped variable is defined in the function\module\source file scope
|
||||
// then since function scoped variable is hoised their names will collide
|
||||
// names of block-scoped and function scoped variables can collide only
|
||||
// if block scoped variable is defined in the function\module\source file scope (because of variable hoisting)
|
||||
var namesShareScope =
|
||||
localContainer &&
|
||||
(localContainer.kind === SyntaxKind.Block && isAnyFunction(localContainer.parent) ||
|
||||
|
|
Loading…
Reference in a new issue