[PRISM] Replace assert with rb_bug

This commit is contained in:
Peter Zhu 2024-02-13 15:14:55 -05:00
parent a96110f7ef
commit 83c158fdfc

View File

@ -2589,7 +2589,7 @@ pm_scope_node_init(const pm_node_t *node, pm_scope_node_t *scope, pm_scope_node_
break;
}
default:
assert(false && "unreachable");
rb_bug("unreachable");
break;
}
}