diff options
| author | yui-knk <spiketeika@gmail.com> | 2024-07-28 22:42:24 +0900 |
|---|---|---|
| committer | Yuichiro Kaneko <spiketeika@gmail.com> | 2024-07-29 08:01:52 +0900 |
| commit | 3f40cebabcf93581ebaecbf76ede38ae2ff22a69 (patch) | |
| tree | 8d21141f52b85d4e1d90f0c4435bc4f6293384ee /array.c | |
| parent | e798f45cc2417ae778e4790e3159654c90ba91fe (diff) | |
Specify `LAST_NODE` for `NODE_DEFINED`
For example:
```
defined?(1)
```
Before:
```
# @ NODE_SCOPE (id: 2, line: 1, location: (1,0)-(1,11))
# +- nd_tbl: (empty)
# +- nd_args:
# | (null node)
# +- nd_body:
# @ NODE_DEFINED (id: 1, line: 1, location: (1,0)-(1,11))*
# +- nd_head:
# | @ NODE_INTEGER (id: 0, line: 1, location: (1,9)-(1,10))
# | +- val: 1
```
After:
```
# @ NODE_SCOPE (id: 2, line: 1, location: (1,0)-(1,11))
# +- nd_tbl: (empty)
# +- nd_args:
# | (null node)
# +- nd_body:
# @ NODE_DEFINED (id: 1, line: 1, location: (1,0)-(1,11))*
# +- nd_head:
# @ NODE_INTEGER (id: 0, line: 1, location: (1,9)-(1,10))
# +- val: 1
```
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11265
Diffstat (limited to 'array.c')
0 files changed, 0 insertions, 0 deletions
