From df976c9bac104d44c8e7b446235ad73e956b5415 Mon Sep 17 00:00:00 2001 From: bd-912 Date: Wed, 17 Apr 2024 12:22:59 -0600 Subject: TypeFactory now maps "strings" to temp alias --- boil/library/TypeFactory.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'boil/library/TypeFactory.java') diff --git a/boil/library/TypeFactory.java b/boil/library/TypeFactory.java index be77f63..8c64101 100644 --- a/boil/library/TypeFactory.java +++ b/boil/library/TypeFactory.java @@ -1,19 +1,18 @@ package boil.library; import java.util.HashMap; -import st.TypeInstance; public class TypeFactory { private int type_num; - private HashMap map; + private HashMap map; public void reset() { this.type_num = 0; this.map = new HashMap<>(); } - public String alias(TypeInstance t) { + public String alias(String t) { /** * Given a TypeInstance, return the designated * vapor alias. If the alias does not exist, create it. -- cgit v1.2.3