about summary refs log tree commit diff stats
path: root/042name.cc
diff options
context:
space:
mode:
Diffstat (limited to '042name.cc')
-rw-r--r--042name.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/042name.cc b/042name.cc
index e1d978c8..ae27f5bf 100644
--- a/042name.cc
+++ b/042name.cc
@@ -186,8 +186,8 @@ Type[point].element_names.push_back("y");
 :(scenario transform_names_transforms_container_elements)
 recipe main [
   p:address:point <- copy 0  # unsafe
-  a:number <- get p:address:point/lookup, y:offset
-  b:number <- get p:address:point/lookup, x:offset
+  a:number <- get *p:address:point, y:offset
+  b:number <- get *p:address:point, x:offset
 ]
 +name: element y of type point is at offset 1
 +name: element x of type point is at offset 0