Skip to content

Commit

Permalink
Revert assert for debugging on CI
Browse files Browse the repository at this point in the history
This reverts commit ac69849.
The bug seems to have been fixed.
  • Loading branch information
XrXr committed Oct 26, 2020
1 parent 7ad56fd commit c56fdae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vm_method.c
Expand Up @@ -136,7 +136,6 @@ static void
clear_method_cache_by_id_in_class(VALUE klass, ID mid)
{
VM_ASSERT(RB_TYPE_P(klass, T_CLASS) || RB_TYPE_P(klass, T_ICLASS));
if (!(RB_TYPE_P(klass, T_CLASS) || RB_TYPE_P(klass, T_ICLASS))) rb_bug("type confusion"); // temporary. Remove before release

if (LIKELY(RCLASS_EXT(klass)->subclasses == NULL)) {
// no subclasses
Expand Down

0 comments on commit c56fdae

Please sign in to comment.