Skip to content

Commit

Permalink
Remove rb_bug after COMPILE_ERROR
Browse files Browse the repository at this point in the history
Fix test failures since 7afc16a.
Why crash after reported compile error properly.
  • Loading branch information
nobu committed May 19, 2024
1 parent 7afc16a commit b47533f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion prism_compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -5406,7 +5406,6 @@ pm_compile_node(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret,
}

COMPILE_ERROR(ERROR_ARGS "Invalid break");
rb_bug("Invalid break");
}
return;
}
Expand Down

0 comments on commit b47533f

Please sign in to comment.