diff options
author | eileencodes <eileencodes@gmail.com> | 2024-01-17 11:38:02 -0500 |
---|---|---|
committer | Kevin Newton <kddnewton@gmail.com> | 2024-01-17 17:21:29 -0500 |
commit | 555af5e599772033d3073afd6b91c28dc53b3f71 (patch) | |
tree | 6f3212b5ab28c38238204cef77f03f3ce1f45643 /ext | |
parent | 24d02cd4859ea3cee3b9dfaca196c7b34c5686a4 (diff) |
[Prism] Implement defined? for PM_UNTIL_NODE
Ruby code:
```ruby
defined?(until a == 1; end)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(59,16)>
0000 putobject "expression" ( 59)[Li]
0002 leave
"********* PRISM *************"
== disasm: #<ISeq:<compiled>@<compiled>:58 (58,0)-(58,16)>
0000 putobject "expression" ( 58)[Li]
0002 leave
```
Related: ruby/prism#2188
Diffstat (limited to 'ext')
0 files changed, 0 insertions, 0 deletions