From 7066b4300dc27cc7ae5dfc36b586d516cd23b84e Mon Sep 17 00:00:00 2001 From: Maxwell Jeffress Date: Mon, 22 Sep 2025 20:03:35 +1000 Subject: [PATCH] Fix "init &var -list" --- libraries | 2 +- src/main.cpp | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/libraries b/libraries index 52e95e9..5e7de48 160000 --- a/libraries +++ b/libraries @@ -1 +1 @@ -Subproject commit 52e95e987fd196987f88ad235ae1a3c92190673e +Subproject commit 5e7de482e762f67178e2e3c3431b4032b3ff12d6 diff --git a/src/main.cpp b/src/main.cpp index 49357d3..add124a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -735,6 +735,12 @@ Literal exec(vector in, bool executingFunction) { case Types::Bool: newVal.val = false; break; + case Types::List: + { + List newList; + newVal.val = newList; + } + break; default: return error("You dingus you werent supposed to get here"); } @@ -1064,6 +1070,12 @@ Literal exec(vector in, bool executingFunction) { case Types::Bool: newVal.val = false; break; + case Types::List: + { + List newList; + newVal.val = newList; + } + break; default: return error("You dingus you werent supposed to get here"); }