diff options
| author | eileencodes <eileencodes@gmail.com> | 2024-01-16 15:43:24 -0500 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2024-01-17 10:17:59 -0500 |
| commit | d0a7c33f05626bdec6f085ff4084aaaf25214ec3 (patch) | |
| tree | 8c02fd30fec0e3996e08c4788a6bea44d2d35cc5 /test/ruby/test_array.rb | |
| parent | 2697acf7ffe0d607f6bb0f95b1017f3bb0d6195f (diff) | |
[Prism] Implement defined? for PM_REDO_NODE
Ruby code:
```ruby
defined?(redo)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(59,14)>
0000 putobject "expression" ( 59)[Li]
0002 leave
"********* PRISM *************"
== disasm: #<ISeq:<compiled>@<compiled>:58 (58,0)-(58,14)>
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
