Skip to content

Commit a90a55c

Browse files
committed
fix: writable points
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent f07320a commit a90a55c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/location.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class Location {
7070

7171
// index file
7272
for (const char of String(file) + '\n') {
73-
this.#indices[point.offset] = Object.freeze({ ...point })
73+
this.#indices[point.offset] = { ...point }
7474
this.#indices[`${point.line}:${point.column}`] = point.offset
7575

7676
// advance point

0 commit comments

Comments
 (0)