Skip to content

Commit

Permalink
fix(parser): fixed bunch of class field edge cases
Browse files Browse the repository at this point in the history
  • Loading branch information
KFlash committed Jun 1, 2019
1 parent 75c881a commit 48077ab
Show file tree
Hide file tree
Showing 3 changed files with 157 additions and 192 deletions.
1 change: 1 addition & 0 deletions src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const enum Context {
AllowNewTarget = 1 << 26,
DisallowIn = 1 << 27,
InDecoratorContext = 1 << 28,
InClass = 1 << 29,
InSwitchOrIteration = InSwitch | InIteration
}

Expand Down

0 comments on commit 48077ab

Please sign in to comment.