diff options
| author | eileencodes <eileencodes@gmail.com> | 2024-01-17 10:50:58 -0500 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2024-01-17 17:21:29 -0500 |
| commit | 913772a08acb9ebf4ea91762ebcf5ccdb1d9732c (patch) | |
| tree | add2b06be3da7fd536f9e45a4052751dec841b20 /include/ruby/ruby.h | |
| parent | a9a22b9f2d3200cb55938a0eaf8d2c42ea05c7c9 (diff) | |
[Prism] Implement defined? for PM_MODULE_NODE
Ruby code:
```ruby
defined?(module M; 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 'include/ruby/ruby.h')
0 files changed, 0 insertions, 0 deletions
