Project

General

Profile

« Previous | Next » 

Revision 011347e4

Added by normal almost 9 years ago

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
    [ruby-core:69891] [Bug #11338]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e