From d52406ccd9eb19be40b85a3a2a1b00e5052afb9b Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 17 Sep 2016 00:46:03 -0700 Subject: 3381 --- 055shape_shifting_container.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '055shape_shifting_container.cc') diff --git a/055shape_shifting_container.cc b/055shape_shifting_container.cc index 0457e43a..d3103ab8 100644 --- a/055shape_shifting_container.cc +++ b/055shape_shifting_container.cc @@ -42,7 +42,7 @@ container foo:_a:_b [ y:_b ] def main [ - 1:foo:number:boolean <- merge 34, 1/true + 1:foo:number:bool <- merge 34, 1/true ] $error: 0 @@ -281,7 +281,7 @@ def main [ 1:text <- new [abc] {2: (foo number (address array character))} <- merge 34/x, 1:text/y 3:text <- get {2: (foo number (address array character))}, y:offset - 4:boolean <- equal 1:text, 3:text + 4:bool <- equal 1:text, 3:text ] +mem: storing 1 in location 4 -- cgit 1.4.1-2-gfad0