summaryrefslogtreecommitdiff
path: root/heat/HeatVisitor.java
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-05-12 01:07:41 -0600
committerbd-912 <bdunahu@colostate.edu>2024-05-12 01:07:41 -0600
commit40d176b0e5a6e3bc964f97bc68fa22cf23a2efa2 (patch)
tree8319d70c8faa4057bc590719261b3564d6b721b3 /heat/HeatVisitor.java
parent917846ad0036df0e48bb937ba6206a2905b4a831 (diff)
Fix last bugs in HeatVisitor.java
Diffstat (limited to 'heat/HeatVisitor.java')
-rw-r--r--heat/HeatVisitor.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/heat/HeatVisitor.java b/heat/HeatVisitor.java
index ae3d150..41fd3fe 100644
--- a/heat/HeatVisitor.java
+++ b/heat/HeatVisitor.java
@@ -967,6 +967,7 @@ public class HeatVisitor extends GJDepthFirst<TypeBundle,ArrayList<TypeBundle>>
MinimalLogger.info(String.format("-> %s",
n.getClass().getSimpleName()));
///////////////////////////////////////////////////////////////
+ this.recentClass = (ClassInstance) this.symt.getActive(TypeEnum.classname);
_ret = new TypeBundle(TypeEnum.classname, (ClassInstance) this.symt.getActive(TypeEnum.classname));
///////////////////////////////////////////////////////////////
MinimalLogger.info(String.format("<- %s with %s",