diff options
author | yui-knk <spiketeika@gmail.com> | 2023-08-22 18:02:21 +0900 |
---|---|---|
committer | Yuichiro Kaneko <spiketeika@gmail.com> | 2023-08-22 20:01:25 +0900 |
commit | 0ed3624c626a2426ec79929a8c579eb398d6160a (patch) | |
tree | 1feb096e4f0cbcf1b4aec29c9aaafa5994685efa /node_dump.c | |
parent | 1c93288f8bbf667cb95eb7137b2fe64213894b77 (diff) |
Wrap nd_head in node dump message with brackets
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8260
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 52c49df5fa..d06514a407 100644 --- a/node_dump.c +++ b/node_dump.c @@ -592,7 +592,7 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node) case NODE_HASH: if (!node->nd_brace) { ANN("keyword arguments"); - ANN("format: nd_head"); + ANN("format: [nd_head]"); ANN("example: a: 1, b: 2"); } else { |