diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-22 16:56:07 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-22 16:56:07 -0700 |
commit | 9a81d7460fdb16f4e77712e5381d9db8781f5ae6 (patch) | |
tree | 43b05169535fe33e65ecbf61f3fb3ada5f75ed52 /028call_reply.cc | |
parent | 22f4b76344b2d639cbfcaad56ed681670d436548 (diff) | |
download | mu-9a81d7460fdb16f4e77712e5381d9db8781f5ae6.tar.gz |
3561
Diffstat (limited to '028call_reply.cc')
-rw-r--r-- | 028call_reply.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/028call_reply.cc b/028call_reply.cc index 067fd010..98287c69 100644 --- a/028call_reply.cc +++ b/028call_reply.cc @@ -112,10 +112,12 @@ def f [ ] +error: f: return ingredient '14:point' can't be saved in '3:num' -//: In mu we'd like to assume that any instruction doesn't modify its +//: In Mu we'd like to assume that any instruction doesn't modify its //: ingredients unless they're also products. The /same-as-ingredient inside -//: the recipe's 'reply' will help catch accidental misuse of such -//: 'ingredient-products' (sometimes called in-out parameters in other languages). +//: the recipe's 'reply' indicates that an ingredient is intended to be +//: modified in place, and will help catch accidental misuse of such +//: 'ingredient-products' (sometimes called in-out parameters in other +//: languages). :(scenario return_same_as_ingredient) % Hide_errors = true; |