From b47533f67b5c4c758b05cdce0fcd0f978fbfe8b9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 19 May 2024 20:44:02 +0900 Subject: [PATCH] Remove `rb_bug` after COMPILE_ERROR Fix test failures since 7afc16aa48beb093b06eb978bc430f90dd771690. Why crash after reported compile error properly. --- prism_compile.c | 1 - 1 file changed, 1 deletion(-) 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; }