Skip to content

Commit 09bc1a8

Browse files
committed
just ast
1 parent e7f9eef commit 09bc1a8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

apps/oxlint/src-js/generated/deserialize.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,13 @@ function deserializeProgram(pos) {
4848
body: null,
4949
sourceType: deserializeModuleKind(pos + 125),
5050
hashbang: null,
51-
comments: deserializeVecComment(pos + 24),
51+
...{
52+
get comments() {
53+
let c = deserializeVecComment(pos + 24);
54+
Object.defineProperty(this, 'comments', { value: c });
55+
return c;
56+
},
57+
},
5258
start: 0,
5359
end,
5460
range: [0, end],

0 commit comments

Comments
 (0)