From 8df9dde909f792e4c2b7552740dff8e94db92250 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 2 Dec 2024 12:41:29 +1100 Subject: [PATCH] src/ldump.js: fix incorrect field in constructor Found via https://github.com/fengari-lua/fengari/pull/210/ with thanks to @gudzpoz --- src/ldump.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ldump.js b/src/ldump.js index 596a319..6a30f0b 100644 --- a/src/ldump.js +++ b/src/ldump.js @@ -24,7 +24,7 @@ const LUAC_FORMAT = 0; /* this is the official format */ class DumpState { constructor() { this.L = null; - this.write = null; + this.writer = null; this.data = null; this.strip = NaN; this.status = NaN;