From: normalperson@... Date: 2015-07-07T19:41:58+00:00 Subject: [ruby-core:69891] [Ruby trunk - Bug #11338] [Open] [PATCH] iseq.c (iseq_data_to_ary): dump kw_arg as symbol Issue #11338 has been reported by Eric Wong. ---------------------------------------- Bug #11338: [PATCH] iseq.c (iseq_data_to_ary): dump kw_arg as symbol https://bugs.ruby-lang.org/issues/11338 * Author: Eric Wong * Status: Open * Priority: Normal * Assignee: * ruby -v: * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: REQUIRED ---------------------------------------- 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/