Revert assert for debugging on CI

This reverts commit ac69849e49982ea83036c04c5d5f7245e3956a49.
The bug seems to have been fixed.
This commit is contained in:
Alan Wu 2020-10-26 16:44:15 -04:00
parent 7ad56fd87b
commit c56fdaecc4

View File

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