aboutsummaryrefslogtreecommitdiffstats
path: root/vm_method.c
diff options
context:
space:
mode:
authorAlan Wu <alanwu@ruby-lang.org>2020-10-26 16:44:15 -0400
committerAlan Wu <alanwu@ruby-lang.org>2020-10-26 16:44:15 -0400
commitc56fdaecc4293c6f5ff81a55737612f5c72437bd (patch)
tree2184cf1c62bcc15f15e91b0be3650cf52f8316b0 /vm_method.c
parent7ad56fd87b35abf4933e0146761df91e9ec9890a (diff)
downloadruby-c56fdaecc4293c6f5ff81a55737612f5c72437bd.tar.gz
Revert assert for debugging on CI
This reverts commit ac69849e49982ea83036c04c5d5f7245e3956a49. The bug seems to have been fixed.
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c
index e229d8b356..ec7d226580 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -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