diff options
author | yui-knk <spiketeika@gmail.com> | 2023-06-18 10:23:23 +0900 |
---|---|---|
committer | Yuichiro Kaneko <spiketeika@gmail.com> | 2023-06-18 11:15:54 +0900 |
commit | 7adab819074e448ffbb6e8d99e4edb0567e4405a (patch) | |
tree | cb6627bb93a53bc2f5cd77d8007c50df3f62c062 /node_dump.c | |
parent | 4f79c83a6a040c27840bad0f85520e680deda564 (diff) |
Fix the format of NODE_EVSTR rendered by dump_node
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7955
Diffstat (limited to 'node_dump.c')
-rw-r--r-- | node_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_dump.c b/node_dump.c index 331ea4da52..52c49df5fa 100644 --- a/node_dump.c +++ b/node_dump.c @@ -757,7 +757,7 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node) case NODE_EVSTR: ANN("interpolation expression"); - ANN("format: \"..#{ [nd_lit] }..\""); + ANN("format: \"..#{ [nd_body] }..\""); ANN("example: \"foo#{ bar }baz\""); LAST_NODE; F_NODE(nd_body, "body"); |