diff options
| author | eileencodes <eileencodes@gmail.com> | 2024-01-16 15:16:31 -0500 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2024-01-17 10:17:59 -0500 |
| commit | 82ed90950e485ffd8b5d5536d105b3ebf953a1fa (patch) | |
| tree | aef9c4da430876f56936100a00d4dccb0f408cd6 /test/ruby/test_array.rb | |
| parent | 0c814092ee1268562b4ba42973ea754e0dcf1bd0 (diff) | |
[Prism] Implement defined? for PM_BREAK_NODE
Ruby code:
```ruby
defined?(break)
```
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
