I'm embarrassed that I missed these responses to my bug report. I had forgotten that I had created this issue. Sorry! Shugo: `using Foo, global: true` would fix the problem, though it feels a bit awkward to me. I guess this is because...davidbalbert (David Albert)
The problem: Top level refinements do not work in IRB. They worked in 2.0.0-p451, but don't work in 2.1.0, 2.1.1, or today's trunk. Details: Here some code in a file: #refine.rb
=begin I've discovered what I think is a bug in the (({Readline})) module in the standard library. When I am using (({vi_editing_mode})) in insert mode (rather than command mode), I am unable to use the up arrow to go up through history...davidbalbert (David Albert)
The "Quick start" section of the Socket documentation refers to the Socket::INET constant, which doesn't exist. I've attached a small patch changing the reference to Socket::AF_INET, which seems consistent with the rest of the documentat...davidbalbert (David Albert)
:trace_instruction is a valid iseq compiler option that can be set with compile_option=, but it does not appear in the hash returned by RubyVM::InstructionSequence.compile_option. I've attached a patch that fixes this.davidbalbert (David Albert)
I've attached a patch with documentation for the RubyVM::InstructionSequence class. It's of decent size, and I'm just getting familiar with the VM, so please send comments and corrections if you have any. I'm happy to do further passes i...davidbalbert (David Albert)
The description of rb_iseq_struct.local_size says that it is sizeof(local vars) + 1 for class and method frames, but just sizeof(local vars) for block frames. I think this is no longer the case. local_size is always sizeof(local vars) + ...davidbalbert (David Albert)
I ran into this bug recently and I did a bit of investigating. This is due to a change introduced by #3406 (r29578) that made inner method definitions public regardless of the visibility of the method they were defined in. I've attach...davidbalbert (David Albert)