Skip to content

Commit 29cbe9d

Browse files
committed
Remove unhelpful comment
1 parent 32aee67 commit 29cbe9d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/compiler/checker.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10961,7 +10961,6 @@ module ts {
1096110961
}
1096210962

1096310963
function isUnknownIdentifier(location: Node, name: string): boolean {
10964-
// Do not call resolveName on a synthesized node!
1096510964
Debug.assert(!nodeIsSynthesized(location), "isUnknownIdentifier called with a synthesized location");
1096610965
return !resolveName(location, name, SymbolFlags.Value, /*nodeNotFoundMessage*/ undefined, /*nameArg*/ undefined) &&
1096710966
!hasProperty(getGeneratedNamesForSourceFile(getSourceFile(location)), name);

0 commit comments

Comments
 (0)