diff options
| author | eileencodes <eileencodes@gmail.com> | 2024-01-17 10:23:23 -0500 |
|---|---|---|
| committer | Aaron Patterson <aaron.patterson@gmail.com> | 2024-01-17 13:08:49 -0800 |
| commit | ff54a8f4c7b46b60ef3849a66fd46d1a199c83f2 (patch) | |
| tree | 454f172f82ce045a7497c9a37d7a88762ab819b1 /include/ruby/debug.h | |
| parent | f8ef77af3bbd2690c81cffccdf40afe953c7e6a7 (diff) | |
[Prism] Implement defined? for PM_INDEX_OPERATOR_WRITE_NODE
Ruby code:
```ruby
defined?([0][0] += 1)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(59,58)>
0000 putobject "assignment" ( 59)[Li]
0002 leave
"********* PRISM *************"
== disasm: #<ISeq:<compiled>@<compiled>:58 (58,0)-(58,58)>
0000 putobject "assignment" ( 58)[Li]
0002 leave
```
Related: ruby/prism#2188
Diffstat (limited to 'include/ruby/debug.h')
0 files changed, 0 insertions, 0 deletions
