From 7b2bea42a245f2e80b5d2700963fd6b143f6d6b8 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 2 Sep 2020 23:12:22 +0900 Subject: Unfreeze string-literal-only interpolated string-literal [Feature #17104] --- node.c | 1 + 1 file changed, 1 insertion(+) (limited to 'node.c') diff --git a/node.c b/node.c index 7c291a80ad..936043794a 100644 --- a/node.c +++ b/node.c @@ -741,6 +741,7 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node) ANN("example: :\"foo#{ bar }baz\""); dlit: F_LIT(nd_lit, "preceding string"); + if (!node->nd_next) return; F_NODE(nd_next->nd_head, "interpolation"); LAST_NODE; F_NODE(nd_next->nd_next, "tailing strings"); -- cgit v1.2.1