diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-09-17 00:46:03 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-09-17 00:46:03 -0700 |
commit | d52406ccd9eb19be40b85a3a2a1b00e5052afb9b (patch) | |
tree | 18936281f60f84ea1ceb024b1b1580d376f765c6 /055shape_shifting_container.cc | |
parent | 192d59d3bb9ee0baa1afd82cb5d0f352bdc6e403 (diff) | |
download | mu-d52406ccd9eb19be40b85a3a2a1b00e5052afb9b.tar.gz |
3381
Diffstat (limited to '055shape_shifting_container.cc')
-rw-r--r-- | 055shape_shifting_container.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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 |