From 49c4b7ae0a7391bb88984e3a4d00286a433d9684 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 23 Apr 2016 10:30:07 -0700 Subject: 2857 --- 058shape_shifting_recipe.cc | 3 +-- 1 file changed, 1 insertion(+), 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 ] -- cgit 1.4.1-2-gfad0