[#82706] [Ruby trunk Bug#13851] getting "can't modify string; temporarily locked" on non-frozen instances — cardoso_tiago@...
Issue #13851 has been updated by chucke (Tiago Cardoso).
3 messages
2017/09/07
[#82853] [Ruby trunk Bug#13916] Race condition when sending a signal to a new fork — russell.davis@...
Issue #13916 has been reported by russelldavis (Russell Davis).
3 messages
2017/09/19
[#82892] [Ruby trunk Bug#13921] buffered read_nonblock doesn't work as expected using SSLSocket — cardoso_tiago@...
Issue #13921 has been updated by chucke (Tiago Cardoso).
3 messages
2017/09/20
[ruby-core:82896] [Ruby trunk Feature#13924] Add a headings/hints to RubyVM::InstructionSequence#disasm
From:
tonytonyjan@...
Date:
2017-09-20 13:39:55 UTC
List:
ruby-core #82896
Issue #13924 has been reported by tonytonyjan (Wei-Hang Jian).
----------------------------------------
Feature #13924: Add a headings/hints to RubyVM::InstructionSequence#disasm
https://bugs.ruby-lang.org/issues/13924
* Author: tonytonyjan (Wei-Hang Jian)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
----------------------------------------
As the official document mentions, this method will return a String with the human readable instructions. However, it is quite hard to read since we can not understand the definition of each column, for example:
~~~ ruby
puts RubyVM::InstructionSequence.compile("[4, 5].max").disasm
== disasm: #<ISeq:<compiled>@<compiled>>================================
0000 trace 1 ( 1)
0002 duparray [4, 5]
0004 opt_send_without_block <callinfo!mid:max, argc:0, ARGS_SIMPLE>, <callcache>
0007 leave
~~~
There is no clue can inform us that "( 1)" stands for the line number, is it possible to either improve documentation or add some hints to the output string?
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>