ruby-changes:63450
From: Alan <ko1@a...>
Date: Tue, 27 Oct 2020 05:47:31 +0900 (JST)
Subject: [ruby-changes:63450] c56fdaecc4 (master): Revert assert for debugging on CI
https://git.ruby-lang.org/ruby.git/commit/?id=c56fdaecc4 From c56fdaecc4293c6f5ff81a55737612f5c72437bd Mon Sep 17 00:00:00 2001 From: Alan Wu <alanwu@r...> Date: Mon, 26 Oct 2020 16:44:15 -0400 Subject: Revert assert for debugging on CI This reverts commit ac69849e49982ea83036c04c5d5f7245e3956a49. The bug seems to have been fixed. diff --git a/vm_method.c b/vm_method.c index e229d8b..ec7d226 100644 --- a/vm_method.c +++ b/vm_method.c @@ -136,7 +136,6 @@ static void https://github.com/ruby/ruby/blob/trunk/vm_method.c#L136 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/