Remove rb_bug after COMPILE_ERROR

Fix test failures since 7afc16aa48beb093b06eb978bc430f90dd771690.
Why crash after reported compile error properly.
This commit is contained in:
Nobuyoshi Nakada 2024-05-19 20:44:02 +09:00
parent 7afc16aa48
commit b47533f67b
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -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;
}