diff options
Diffstat (limited to '057static_dispatch.cc')
-rw-r--r-- | 057static_dispatch.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/057static_dispatch.cc b/057static_dispatch.cc index bad8c1d8..1034dc90 100644 --- a/057static_dispatch.cc +++ b/057static_dispatch.cc @@ -297,13 +297,13 @@ $error: 0 :(scenario static_dispatch_works_with_compound_type_containing_container_defined_after_first_use) % Hide_errors = true; recipe main [ - x:address:foo <- new foo:type + x:address:shared:foo <- new foo:type test x ] container foo [ x:number ] -recipe test a:address:foo -> z:number [ +recipe test a:address:shared:foo -> z:number [ local-scope load-ingredients z:number <- get *a, x:offset @@ -313,10 +313,10 @@ $error: 0 :(scenario static_dispatch_works_with_compound_type_containing_container_defined_after_second_use) % Hide_errors = true; recipe main [ - x:address:foo <- new foo:type + x:address:shared:foo <- new foo:type test x ] -recipe test a:address:foo -> z:number [ +recipe test a:address:shared:foo -> z:number [ local-scope load-ingredients z:number <- get *a, x:offset |