Update comment

This commit is contained in:
Yui T 2015-05-05 15:11:14 -07:00
parent a5ec06c8bf
commit 0bd0b2798c

View file

@ -445,7 +445,7 @@ module ts {
// Using ParameterExcludes flag allows the compiler to report an error on duplicate identifiers in Parameter Declaration
// For example:
// function foo([a,a]) {} // Duplicate Identifier error
// function bar(a,a) {} // Duplicate Identifier error, binding parameter declaration in this case is handled in bindParameter
// function bar(a,a) {} // Duplicate Identifier error, parameter declaration in this case is handled in bindParameter
// // which correctly set excluded symbols
bindDeclaration(<Declaration>node, SymbolFlags.FunctionScopedVariable, SymbolFlags.ParameterExcludes, /*isBlockScopeContainer*/ false);
}