From 589e1f440c7b76d359d8e9f9fd8722d199da3c59 Mon Sep 17 00:00:00 2001 From: Anders Hejlsberg Date: Thu, 21 Sep 2017 08:52:22 -0700 Subject: [PATCH] Update comment --- src/compiler/checker.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index fce58ad866f..574ce5c6d80 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -9417,8 +9417,8 @@ namespace ts { if (getObjectFlags(source) & ObjectFlags.Reference && getObjectFlags(target) & ObjectFlags.Reference && (source).target === (target).target && !(source.flags & TypeFlags.MarkerType || target.flags & TypeFlags.MarkerType)) { // We have type references to the same generic type, and the type references are not marker - // type references (which we always compare structurally). Obtain the variance information - // for the type parameters and relate the type arguments accordingly. + // type references (which are intended by be compared structurally). Obtain the variance + // information for the type parameters and relate the type arguments accordingly. const variances = getVariances((source).target); if (result = typeArgumentsRelatedTo(source, target, variances, reportErrors)) { return result;