Issue #10140 has been updated by Tomoyuki Chikanaga.

Status changed from Assigned to Closed
% Done changed from 0 to 100

Applied in changeset r47481.

----------
merge revision(s) r47191: [Backport #10140]

	* iseq.c (rb_iseq_clone): Should not insert write barrier from
	  non-RVALUE data (to non-RVALUE data, of course).
	  Ruby 2.1 also has a same problem.

----------------------------------------
Backport #10140: Backport r47191 (don't pass a non-VALUE argument to RB_OBJ_WRITE)
https://bugs.ruby-lang.org/issues/10140#change-48760

* Author: Tomoyuki Chikanaga
* Status: Closed
* Priority: Normal
* Assignee: Tomoyuki Chikanaga
----------------------------------------
In commit message:

    Should not insert write barrier from
    non-RVALUE data (to non-RVALUE data, of course).
    Ruby 2.1 also has a same problem.



-- 
https://bugs.ruby-lang.org/