Skip to content

Commit 3a8e59a

Browse files
committed
comments by default are undefined
1 parent 9057bb4 commit 3a8e59a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/slang-utils/create-hug-function.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@ export function createHugFunction(
1818
{
1919
kind: NonterminalKind.TupleExpression,
2020
loc: { ...loc },
21-
comments: [],
21+
comments: undefined,
2222
items: Object.assign(
2323
Object.create(TupleValues.prototype) as TupleValues,
2424
{
2525
kind: NonterminalKind.TupleValues,
2626
loc: { ...loc },
27-
comments: [],
27+
comments: undefined,
2828
items: [
2929
Object.assign(
3030
Object.create(TupleValue.prototype) as TupleValue,
3131
{
3232
kind: NonterminalKind.TupleValue,
3333
loc: { ...loc },
34-
comments: [],
34+
comments: undefined,
3535
expression: node
3636
}
3737
)

0 commit comments

Comments
 (0)