summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-05-19 20:44:02 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-05-19 20:45:47 +0900
commitb47533f67b5c4c758b05cdce0fcd0f978fbfe8b9 (patch)
tree7b34d541f760f549de5d76795d579d1ecf992b9b
parent7afc16aa48beb093b06eb978bc430f90dd771690 (diff)
Remove `rb_bug` after COMPILE_ERROR
Fix test failures since 7afc16aa48beb093b06eb978bc430f90dd771690. Why crash after reported compile error properly.
-rw-r--r--prism_compile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/prism_compile.c b/prism_compile.c
index 44ac70d2fa..05dab99dc2 100644
--- a/prism_compile.c
+++ b/prism_compile.c
@@ -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;
}