Skip to content

Commit

Permalink
Disallow *a&.x=0
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton committed May 3, 2024
1 parent c290b09 commit 624fdf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prism.c
Original file line number Diff line number Diff line change
Expand Up @@ -19347,7 +19347,7 @@ parse_expression_prefix(pm_parser_t *parser, pm_binding_power_t binding_power, b
if (match1(parser, PM_TOKEN_COMMA)) {
return parse_targets_validate(parser, splat, PM_BINDING_POWER_INDEX);
} else {
return parse_target_validate(parser, splat, false);
return parse_target_validate(parser, splat, true);
}
}
case PM_TOKEN_BANG: {
Expand Down

0 comments on commit 624fdf7

Please sign in to comment.