summaryrefslogtreecommitdiff
path: root/boil
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-26 19:36:16 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-26 19:36:16 -0600
commite2d7b563cd22b92604e07dad9bf6bcf0393a46ca (patch)
tree539f081c254d31afe9574fa42f5629971d8a9eb5 /boil
parent42512ab2cfd16422909263475b044f40b3829707 (diff)
HeatVisitor MessageSend anonymous, observe Factorial + others pass
Diffstat (limited to 'boil')
-rw-r--r--boil/BoilVisitor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/boil/BoilVisitor.java b/boil/BoilVisitor.java
index 4ba6ea2..0d1d721 100644
--- a/boil/BoilVisitor.java
+++ b/boil/BoilVisitor.java
@@ -969,7 +969,7 @@ public class BoilVisitor extends GJDepthFirst<String,String> {
MinimalLogger.info("Message send found ANONYMOUS");
// expand the entire object out!
rhs = n.f0.accept(this, argu);
- t = new TypeInstance(rhs, TypeEnum.ERROR,
+ t = new TypeInstance(rhs, null,
(MethodInstance) this.symt.getActive(TypeEnum.method),
(ClassInstance) this.symt.getActive(TypeEnum.classname));
t.addClassInstance(this.recentClass);
@@ -981,7 +981,7 @@ public class BoilVisitor extends GJDepthFirst<String,String> {
MinimalLogger.info("Message send found BRACKET");
rhs = n.f0.accept(this, argu);
ClassInstance cls = this.recentMethod.getReturn();
- t = new TypeInstance(this.getUniqueID(), TypeEnum.ERROR,
+ t = new TypeInstance(this.getUniqueID(), null,
(MethodInstance) this.symt.getActive(TypeEnum.method),
(ClassInstance) this.symt.getActive(TypeEnum.classname));
this.addVapor(String.format(" %s = %s\n",