summaryrefslogtreecommitdiff
path: root/boil/library/BoilVisitor.java
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-25 23:34:56 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-25 23:34:56 -0600
commit7e6c63a4d5a4acf9a4f993e6dff6ee7912f26c1e (patch)
treee8dfb25ebdde640815caa6920bfe894be63fd3ab /boil/library/BoilVisitor.java
parenta4090b25b5433ce007c91cabbd4c247f6a6c81f1 (diff)
Fix message send to handle class variables
Diffstat (limited to 'boil/library/BoilVisitor.java')
-rw-r--r--boil/library/BoilVisitor.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/boil/library/BoilVisitor.java b/boil/library/BoilVisitor.java
index f977491..0c0f76a 100644
--- a/boil/library/BoilVisitor.java
+++ b/boil/library/BoilVisitor.java
@@ -938,6 +938,10 @@ public class BoilVisitor extends GJDepthFirst<String,String> {
t = this.symt.getType(rhs);
if (t == null)
t = this.symt.getTypeAttr(rhs);
+ rhs = n.f0.accept(this, argu);
+ this.addVapor(String.format(" %s = %s\n",
+ this.tf.alias(t.getName()),
+ rhs));
break;
case 4:
// we'll do everything here and exit the function