Actions
Bug #10959
closedrb_iseq_load: problems with hash containing symbolic keys
ruby -v:
ruby 2.2.1p85 (2015-02-26 revision 49769) [x64-mingw32]
Tags:
Description
Hello!
I've found a bug in the rb_iseq_load function. When I'm trying to load the next code:
def func @basis << {:a => 1} end
compiled by RubyVM::InstructionSequence.compile_file(filename).to_a
call it throws an exception "wrong argument type false (expected Symbol). If :a is replaced to "a" the precompiled code loads correctly. All files required for reproducing this bug is attached to the report.
Files
Actions
Like0
Like0