diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-11-04 18:54:59 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-11-04 18:54:59 -0800 |
commit | 8de2764da9fa8d195e53948bc3aa8dcb84f57321 (patch) | |
tree | 9cdab53b366108788629cf9ff978d25836831056 | |
parent | 5d4a1d3b80066711a00b111a4832eecdb547024f (diff) | |
download | mu-8de2764da9fa8d195e53948bc3aa8dcb84f57321.tar.gz |
2355
-rw-r--r-- | 056recipe_header.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/056recipe_header.cc b/056recipe_header.cc index ddb2ccd1..cad74e5d 100644 --- a/056recipe_header.cc +++ b/056recipe_header.cc @@ -199,6 +199,20 @@ if (curr.name == "reply" && curr.ingredients.empty()) { } } +:(scenario explicit_reply_ignores_header) +recipe main [ + 1:number/raw, 2:number/raw <- add2 3, 5 +] +recipe add2 a:number, b:number -> y:number, z:number [ + local-scope + load-ingredients + y <- add a, b + z <- subtract a, b + reply a, z +] ++mem: storing 3 in location 1 ++mem: storing -2 in location 2 + :(scenario reply_on_fallthrough_based_on_header) recipe main [ 1:number/raw <- add2 3, 5 |