From ee60d3f9a32f75c628961f40a9bf4f1bf387ac06 Mon Sep 17 00:00:00 2001 From: bd-912 Date: Sun, 14 Apr 2024 02:21:48 -0600 Subject: Proper Allocation sizes for Boil VarDeclaration --- boil/library/TypeFactory.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'boil/library/TypeFactory.java') diff --git a/boil/library/TypeFactory.java b/boil/library/TypeFactory.java index c84f64e..432fc0f 100644 --- a/boil/library/TypeFactory.java +++ b/boil/library/TypeFactory.java @@ -33,7 +33,9 @@ public class TypeFactory { * list of the x most recent entries. */ String rtn = ""; - for (int i = type_num-x; i < type_num; ++i) { + rtn += String.format("t.%d", + type_num-x); + for (int i = type_num-(x+1); i < type_num; ++i) { rtn += String.format(" t.%d", i); } -- cgit v1.2.3