From: nagachika00@... Date: 2015-11-29T07:29:55+00:00 Subject: [ruby-core:71729] [Ruby trunk - Bug #11338] [PATCH] iseq.c (iseq_data_to_ary): dump kw_arg as symbol Issue #11338 has been updated by Tomoyuki Chikanaga. Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: REQUIRED to 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: DONE Backported into `ruby_2_2` branch at r52783. ---------------------------------------- Bug #11338: [PATCH] iseq.c (iseq_data_to_ary): dump kw_arg as symbol https://bugs.ruby-lang.org/issues/11338#change-55133 * Author: Eric Wong * Status: Closed * Priority: Normal * Assignee: * ruby -v: * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: DONE ---------------------------------------- iseq.c (iseq_data_to_ary): dump kw_arg as symbol Fix RubyVM::InstructionSequence#to_a after r49517 Keywords were made symbols to fix [Bug #10831] [ruby-core:68031], so we should dump symbols as-is instead of attempting to convert them from IDs * iseq.c (iseq_data_to_ary): dump kw_arg as symbol * test/-ext-/iseq_load/test_iseq_load.rb: test kw_arg roundtrip ---Files-------------------------------- 0001-iseq.c-iseq_data_to_ary-dump-kw_arg-as-symbol.patch (1.64 KB) -- https://bugs.ruby-lang.org/