Produce a name for anonymous class expressions when we perform downlevel emit.

This commit is contained in:
unknown 2015-04-01 17:28:59 -07:00
parent ba8be9eef4
commit 189482e730

View File

@ -262,6 +262,7 @@ module ts {
switch (node.kind) {
case SyntaxKind.FunctionDeclaration:
case SyntaxKind.ClassDeclaration:
case SyntaxKind.ClassExpression:
generateNameForFunctionOrClassDeclaration(<Declaration>node);
break;
case SyntaxKind.ModuleDeclaration: