diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-09-17 12:55:10 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-09-17 12:55:10 -0700 |
commit | 760f683f2755038a1b0c16522f5001b889096aa5 (patch) | |
tree | e07afd384d45be93d81fb4c1788b332fe05799a0 /053recipe_header.cc | |
parent | 80df524b566a708551f752ce8b82e21738591651 (diff) | |
download | mu-760f683f2755038a1b0c16522f5001b889096aa5.tar.gz |
3389
Diffstat (limited to '053recipe_header.cc')
-rw-r--r-- | 053recipe_header.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/053recipe_header.cc b/053recipe_header.cc index 49c9cfcc..40fd4684 100644 --- a/053recipe_header.cc +++ b/053recipe_header.cc @@ -272,7 +272,7 @@ void check_calls_against_header(const recipe_ordinal r) { def add2 x:num, y:num -> z:num [ local-scope load-ingredients - z:address:num <- copy 0/unsafe + z:&:num <- copy 0/unsafe return z ] +error: add2: replied with the wrong type at 'return z' @@ -304,7 +304,7 @@ void check_reply_instructions_against_header(const recipe_ordinal r) { def add2 x:num, y:num [ local-scope load-ingredients - z:address:num <- copy 0/unsafe + z:&:num <- copy 0/unsafe return z ] +error: add2: replied with the wrong number of products at 'return z' |