From b9518614a6c4fa715e072db3fedbb0647ec5e345 Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Sat, 26 Sep 2020 22:52:57 -0500 Subject: [PATCH] js: Reset VariableInput._value when set to VariableInput without a value This should be fix some subtle bugs. --- src/compiler/jsgen.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/jsgen.js b/src/compiler/jsgen.js index 640f8e88..3b52df4e 100644 --- a/src/compiler/jsgen.js +++ b/src/compiler/jsgen.js @@ -189,6 +189,7 @@ class VariableInput { input = input._value; } else { this.type = TYPE_UNKNOWN; + this._value = null; return; } }