diff options
Diffstat (limited to 'boil')
-rw-r--r-- | boil/BoilVisitor.java | 4 |
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", |