diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-04-23 10:30:07 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-04-23 10:30:07 -0700 |
commit | 49c4b7ae0a7391bb88984e3a4d00286a433d9684 (patch) | |
tree | 56b2d7e50fa145d7813069fbce703a2c90f3f611 | |
parent | fc9b09f83a4cdee75b6ef54ea5fc961f933eb301 (diff) | |
download | mu-49c4b7ae0a7391bb88984e3a4d00286a433d9684.tar.gz |
2857
-rw-r--r-- | 058shape_shifting_recipe.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/058shape_shifting_recipe.cc b/058shape_shifting_recipe.cc index a4370ac9..c046e72b 100644 --- a/058shape_shifting_recipe.cc +++ b/058shape_shifting_recipe.cc @@ -679,8 +679,7 @@ void test_shape_shifting_new_ingredient_does_not_pollute_global_namespace() { :(scenario shape_shifting_recipe_supports_compound_types) def main [ 1:address:shared:point <- new point:type - 2:address:number <- get-address *1:address:shared:point, y:offset - *2:address:number <- copy 34 + *1:address:shared:point <- put *1:address:shared:point, y:offset, 34 3:address:shared:point <- bar 1:address:shared:point # specialize _t to address:shared:point 4:point <- copy *3:address:shared:point ] |