diff options
| author | eileencodes <eileencodes@gmail.com> | 2024-01-16 15:47:10 -0500 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2024-01-17 10:17:59 -0500 |
| commit | 338aa465c0a2922b0e7ff306d88bdfec0232f4fb (patch) | |
| tree | 1d7fb8813207e78f1753ca6d977c98409eede714 /test/ruby/test_array.rb | |
| parent | 8774abad55c1b3d76af996f5ad8aae19704702c7 (diff) | |
[Prism] Implement defined? for PM_RETRY_NODE
Ruby code:
```ruby
defined?(retry)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(59,15)>
0000 putobject "expression" ( 59)[Li]
0002 leave
"********* PRISM *************"
== disasm: #<ISeq:<compiled>@<compiled>:58 (58,0)-(58,15)>
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
