File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -10930,6 +10930,7 @@ module ts {
10930
10930
break;
10931
10931
case SyntaxKind.MethodDeclaration:
10932
10932
case SyntaxKind.MethodSignature:
10933
+ forEach(node.decorators, checkFunctionExpressionBodies);
10933
10934
forEach((<MethodDeclaration>node).parameters, checkFunctionExpressionBodies);
10934
10935
if (isObjectLiteralMethod(node)) {
10935
10936
checkFunctionExpressionOrObjectLiteralMethodBody(<MethodDeclaration>node);
@@ -10944,6 +10945,7 @@ module ts {
10944
10945
case SyntaxKind.WithStatement:
10945
10946
checkFunctionExpressionBodies((<WithStatement>node).expression);
10946
10947
break;
10948
+ case SyntaxKind.Decorator:
10947
10949
case SyntaxKind.Parameter:
10948
10950
case SyntaxKind.PropertyDeclaration:
10949
10951
case SyntaxKind.PropertySignature:
You can’t perform that action at this time.
0 commit comments