From 0ed3624c626a2426ec79929a8c579eb398d6160a Mon Sep 17 00:00:00 2001 From: yui-knk Date: Tue, 22 Aug 2023 18:02:21 +0900 Subject: [PATCH] Wrap nd_head in node dump message with brackets --- node_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {