diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-09-22 10:20:58 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-09-22 10:20:58 -0700 |
commit | 7e4692d4b874dcadab99ac5c03b1160ab0f4d9df (patch) | |
tree | f4fa68ee299473643995d805ae8fd79a69ab08e5 /057immutable.cc | |
parent | 4543a0dda5843c0a7af6a51462ecf3d7af63b5ce (diff) | |
download | mu-7e4692d4b874dcadab99ac5c03b1160ab0f4d9df.tar.gz |
3405
Diffstat (limited to '057immutable.cc')
-rw-r--r-- | 057immutable.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/057immutable.cc b/057immutable.cc index 06f8f601..7fb9e052 100644 --- a/057immutable.cc +++ b/057immutable.cc @@ -215,9 +215,6 @@ $error: 0 :(scenario cannot_modify_address_inside_immutable_ingredients_3) % Hide_errors = true; -container foo [ - x:num -] def main [ # don't run anything ] @@ -230,9 +227,6 @@ def foo a:&:@:&:num [ +error: foo: cannot modify 'x' in instruction '*x <- copy 34' because that would modify a which is an ingredient of recipe foo but not also a product :(scenario cannot_modify_address_inside_immutable_ingredients_4) -container foo [ - x:&:@:num # contains an address -] def main [ # don't run anything ] |