about summary refs log tree commit diff stats
path: root/036refcount.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-05-07 09:45:13 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-05-07 09:45:13 -0700
commitca604f1af76a9333bb0bd0b2379cff0ec609222f (patch)
treea1a4a41d6d3d45105d707dc8a0942670363eca78 /036refcount.cc
parent5937f1af0ccf8be12ca4a02fde26734ad8380906 (diff)
downloadmu-ca604f1af76a9333bb0bd0b2379cff0ec609222f.tar.gz
2934 - all layers running again
Since I switched to a Mac laptop (commit 2725) I've been lax in running
test_all_layers because I have to ssh into a server and whatnot. I
should just get CI setup somewhere..
Diffstat (limited to '036refcount.cc')
-rw-r--r--036refcount.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/036refcount.cc b/036refcount.cc
index a0088dfc..e7d3efc1 100644
--- a/036refcount.cc
+++ b/036refcount.cc
@@ -148,12 +148,12 @@ exclusive-container foo [
 def main [
   1:address:number <- new number:type
   2:foo <- merge 1/p, 1:address:number
-  4:address:number, 5:boolean <- maybe-convert 2:foo, p:variant
+  4:address:number, 5:boolean <- maybe-convert 2:foo, 1:variant/p
 ]
 +run: {1: ("address" "number")} <- new {number: "type"}
 +mem: incrementing refcount of 1000: 0 -> 1
 +run: {2: "foo"} <- merge {1: "literal", "p": ()}, {1: ("address" "number")}
-+run: {4: ("address" "number")}, {5: "boolean"} <- maybe-convert {2: "foo"}, {p: "variant"}
++run: {4: ("address" "number")}, {5: "boolean"} <- maybe-convert {2: "foo"}, {1: "variant", "p": ()}
 # maybe-convert increments refcount on success
 +mem: incrementing refcount of 1000: 1 -> 2