diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 5d1c38eb827..80ccd46e6c4 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -3327,6 +3327,8 @@ module ts { if (!links.resolvedType) { let type: Type; + // We don't currently support heritage clauses with complex expressions in them. + // For these cases, we just set the type to be the unknownType. if (node.kind !== SyntaxKind.HeritageClauseElement || isSupportedHeritageClauseElement(node)) { let typeNameOrExpression = node.kind === SyntaxKind.TypeReference ? (node).typeName