Skip to content

Commit

Permalink
fix(parser): Fixed object lit edge cases
Browse files Browse the repository at this point in the history
  • Loading branch information
KFlash committed May 22, 2019
1 parent f3eb024 commit 1c0c2e8
Show file tree
Hide file tree
Showing 5 changed files with 125 additions and 166 deletions.
2 changes: 1 addition & 1 deletion src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const enum Context {
InConstructor = 1 << 24,
InMethod = 1 << 25,
AllowNewTarget = 1 << 26,
DisallowInContext = 1 << 27,
DisallowIn = 1 << 27,
InDecoratorContext = 1 << 28,
InClass = 1 << 29,
InSwitchOrIteration = InSwitch | InIteration
Expand Down
Loading

0 comments on commit 1c0c2e8

Please sign in to comment.