Skip to content

Commit

Permalink
Merge pull request #12639 from MattiasBuelens/fixElideFallthrough
Browse files Browse the repository at this point in the history
Fix elided syntax kinds falling through to visitConstructor in TypeScript transformer
  • Loading branch information
DanielRosenwasser committed Dec 3, 2016
2 parents a230cb7 + 9310063 commit f61a224
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler/transformers/ts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ namespace ts {

case SyntaxKind.PropertyDeclaration:
// TypeScript property declarations are elided.
return undefined;

case SyntaxKind.Constructor:
return visitConstructor(<ConstructorDeclaration>node);
Expand Down

0 comments on commit f61a224

Please sign in to comment.