Skip to content

Commit 8df9dde

Browse files
committed
src/ldump.js: fix incorrect field in constructor
Found via #210 with thanks to @gudzpoz
1 parent eb2453c commit 8df9dde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ldump.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const LUAC_FORMAT = 0; /* this is the official format */
2424
class DumpState {
2525
constructor() {
2626
this.L = null;
27-
this.write = null;
27+
this.writer = null;
2828
this.data = null;
2929
this.strip = NaN;
3030
this.status = NaN;

0 commit comments

Comments
 (0)