about summary refs log tree commit diff stats
path: root/053recipe_header.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-17 14:43:13 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-17 14:43:13 -0700
commit0f2781f8a28881084295663c3e608e5f6f159047 (patch)
tree46d0d2df3cbd29c329a314ddf0f8b3a92e1d4d08 /053recipe_header.cc
parent59085fca6083a08f67911a35c02f012c19d7df48 (diff)
downloadmu-0f2781f8a28881084295663c3e608e5f6f159047.tar.gz
3393
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]