Skip to content

Commit 6e91308

Browse files
committed
remove check for leading comma
1 parent af9503a commit 6e91308

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/parser/expr.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -630,9 +630,6 @@ module.exports = {
630630
if (this.token === "}") {
631631
return;
632632
}
633-
if (this.token === ",") {
634-
return this.node("noop")();
635-
}
636633
return this.node("matcharm")(this.read_match_arm_conds(), this.read_expr());
637634
},
638635

0 commit comments

Comments
 (0)