summaryrefslogtreecommitdiff
path: root/include/ruby/encoding.h
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2024-01-16 15:31:24 -0500
committerKevin Newton <kddnewton@gmail.com>2024-01-17 10:17:59 -0500
commite0c90199c996c53db41611bc7fcb9b68a1ae9c64 (patch)
treed81e90b1ee9d9d93e20b235d73e7e3f0eea7274f /include/ruby/encoding.h
parent25f1a8e4479324ebcc3c9a46c67cdd23b028f435 (diff)
[Prism] Implement defined? for PM_INTERPOLATED_SYMBOL_NODE
Ruby code: ```ruby defined?(:"1 #{1 + 2} 1") ``` Instructions: ``` "********* Ruby *************" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(59,25)> 0000 putobject "expression" ( 59)[Li] 0002 leave "********* PRISM *************" == disasm: #<ISeq:<compiled>@<compiled>:58 (58,0)-(58,25)> 0000 putobject "expression" ( 58)[Li] 0002 leave ``` Related: ruby/prism#2188
Diffstat (limited to 'include/ruby/encoding.h')
0 files changed, 0 insertions, 0 deletions