Skip to content

Commit

Permalink
fix(parser): removed reduntant empty binding validations
Browse files Browse the repository at this point in the history
  • Loading branch information
KFlash committed Jul 17, 2019
1 parent 7f2c32f commit cf98ab5
Show file tree
Hide file tree
Showing 2 changed files with 106 additions and 33 deletions.
6 changes: 5 additions & 1 deletion src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@ export const enum BindingOrigin {
Arrow = 1 << 1,
ForStatement = 1 << 2,
Statement = 1 << 3,
Export = 1 << 4
Export = 1 << 4,
Other = 1 << 5,
IfStatement = 1 << 6,
BlockStatement = 1 << 9,
TopLevel = 1 << 10
}

export const enum AssignmentKind {
Expand Down
Loading

0 comments on commit cf98ab5

Please sign in to comment.