Skip to content

Commit

Permalink
fix: Also set annotations in AST_String ctor (#1375)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpdutoit committed Apr 15, 2023
1 parent 3ab7bbf commit 94ae068
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ast.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 94ae068

Please sign in to comment.