summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2024-01-17 11:36:45 -0500
committerKevin Newton <kddnewton@gmail.com>2024-01-17 17:21:29 -0500
commit24d02cd4859ea3cee3b9dfaca196c7b34c5686a4 (patch)
tree0a2b1eb1b30dfb3748548a0d71cb8820a4daf083 /doc
parentb5d3d61130437de1434cf1a98048bf9d40e7908b (diff)
[Prism] Implement defined? for PM_WHILE_NODE
Ruby code: ```ruby defined?(while a != 1; end) ``` Instructions: ``` "********* Ruby *************" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(59,16)> 0000 putobject "expression" ( 59)[Li] 0002 leave "********* PRISM *************" == disasm: #<ISeq:<compiled>@<compiled>:58 (58,0)-(58,16)> 0000 putobject "expression" ( 58)[Li] 0002 leave ``` Related: ruby/prism#2188
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions