summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2018-07-14 00:36:08 -0700
committerOri Bernstein <ori@eigenstate.org>2018-07-14 00:36:08 -0700
commit3355f31cb1efe35fab21e39e27c5cadcda93d51d (patch)
tree1d4078459279c850c7e42b4991c458df16e153f5
parente8121eb38f6c825fc4638d84521c51dc6cfe761b (diff)
downloadmc-3355f31cb1efe35fab21e39e27c5cadcda93d51d.tar.gz
Fix stupid mistake.HEADmaster
-rw-r--r--parse/infer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/infer.c b/parse/infer.c
index 8da7e02..c208435 100644
--- a/parse/infer.c
+++ b/parse/infer.c
@@ -1509,7 +1509,7 @@ inferucon(Node *n, int *isconst)
unify(n, uc->etype, type(n->expr.args[1]));
*isconst = n->expr.args[1]->expr.isconst;
}
- settype(n, delayeducon(t));
+ settype(n, delayeducon(uc->utype));
}
static void