summaryrefslogtreecommitdiff
path: root/test/ruby/test_lambda.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2024-01-16 15:24:55 -0500
committerKevin Newton <kddnewton@gmail.com>2024-01-17 10:17:59 -0500
commit25f1a8e4479324ebcc3c9a46c67cdd23b028f435 (patch)
tree80bc0de1245710085333db2222228fe0127a6858 /test/ruby/test_lambda.rb
parent82ed90950e485ffd8b5d5536d105b3ebf953a1fa (diff)
[Prism] Implement defined? for PM_DEFINED_NODE
Ruby code: ```ruby defined?(defined?(a)) ``` Instructions: ``` "********* Ruby *************" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(59,21)> 0000 putobject "expression" ( 59)[Li] 0002 leave "********* PRISM *************" == disasm: #<ISeq:<compiled>@<compiled>:58 (58,0)-(58,21)> 0000 putobject "expression" ( 58)[Li] 0002 leave ``` Related: ruby/prism#2188
Diffstat (limited to 'test/ruby/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions