From 29cbe9d4bae21907ddfa3e38f92fab5f503cd319 Mon Sep 17 00:00:00 2001 From: Jason Freeman Date: Wed, 11 Mar 2015 16:33:19 -0700 Subject: [PATCH] Remove unhelpful comment --- src/compiler/checker.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 414a8ce17fa..f977cdd1f16 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -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);