about summary refs log tree commit diff stats
path: root/053recipe_header.cc
diff options
context:
space:
mode:
Diffstat (limited to '053recipe_header.cc')
-rw-r--r--053recipe_header.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/053recipe_header.cc b/053recipe_header.cc
index a9cd5ca4..44e7e8da 100644
--- a/053recipe_header.cc
+++ b/053recipe_header.cc
@@ -145,13 +145,12 @@ if (result.has_header) {
 //: Support type abbreviations in headers.
 
 :(scenario type_abbreviations_in_recipe_headers)
-type string = address:@:char
 def main [
   local-scope
-  a:string <- foo
+  a:text <- foo
   1:char/raw <- index *a, 0
 ]
-def foo -> a:string [
+def foo -> a:text [  # 'text' is an abbreviation
   local-scope
   load-ingredients
   a <- new [abc]