Remove unhelpful comment

This commit is contained in:
Jason Freeman 2015-03-11 16:33:19 -07:00
parent 32aee67c4f
commit 29cbe9d4ba

View File

@ -10961,7 +10961,6 @@ module ts {
}
function isUnknownIdentifier(location: Node, name: string): boolean {
// Do not call resolveName on a synthesized node!
Debug.assert(!nodeIsSynthesized(location), "isUnknownIdentifier called with a synthesized location");
return !resolveName(location, name, SymbolFlags.Value, /*nodeNotFoundMessage*/ undefined, /*nameArg*/ undefined) &&
!hasProperty(getGeneratedNamesForSourceFile(getSourceFile(location)), name);