From: Eric Wong Date: 2015-06-02T20:17:20+00:00 Subject: [ruby-core:69450] Re: [Ruby trunk - Feature #11208] [PATCH] variable.c: remove generic ivar support for special constants ko1@atdot.net wrote: > So the following check should be redundant. > > > if (rb_obj_frozen_p(obj)) rb_error_frozen("object"); > > It should be just > > > if (rb_special_const_p(obj)) rb_bug("..."); I will rely on rb_check_frozen and add new tests: http://80x24.org/spew/m/e66c803892085c843b84cc6f35d4d96c83556dc1.txt I'll squash that onto my previous commit when I commit.