From 94ae068083a94f4e86e10e248f20d1d836611678 Mon Sep 17 00:00:00 2001 From: "Jacques P. du Toit" Date: Sat, 15 Apr 2023 11:15:03 +0200 Subject: [PATCH] fix: Also set annotations in AST_String ctor (#1375) --- lib/ast.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ast.js b/lib/ast.js index 42e6fc27f..7ef4ed2c0 100644 --- a/lib/ast.js +++ b/lib/ast.js @@ -2762,6 +2762,7 @@ var AST_String = DEFNODE("String", "value quote", function AST_String(props) { this.quote = props.quote; this.start = props.start; this.end = props.end; + this._annotations = props._annotations; } this.flags = 0;