summaryrefslogtreecommitdiff
path: root/test/ruby/test_array.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2024-01-16 15:50:45 -0500
committerKevin Newton <kddnewton@gmail.com>2024-01-17 10:17:59 -0500
commitdcf9d77b45bcca3193a310e1a0f496e2d74cfc81 (patch)
tree778ac770994c33139128fa45eb993d16fa6686cf /test/ruby/test_array.rb
parent338aa465c0a2922b0e7ff306d88bdfec0232f4fb (diff)
[Prism] Implement defined? for PM_BEGIN_NODE
Ruby code: ```ruby defined?(begin; 1; end) ``` Instructions: ``` "********* Ruby *************" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(59,23)> 0000 putobject "expression" ( 59)[Li] 0002 leave "********* PRISM *************" == disasm: #<ISeq:<compiled>@<compiled>:58 (58,0)-(58,23)> 0000 putobject "expression" ( 58)[Li] 0002 leave ``` Related: ruby/prism#2188
Diffstat (limited to 'test/ruby/test_array.rb')
0 files changed, 0 insertions, 0 deletions