diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-05-03 14:26:25 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-05-03 14:26:25 -0700 |
commit | 5331af09d0967d7679ecf37e61ec9347460e0f03 (patch) | |
tree | 6c38ca96e40f15e96eb48fd8850f1606fa97e612 /035refcount.cc | |
parent | b96c0763f8da7c4427b7501e37ed0f85aafaf295 (diff) | |
download | mu-5331af09d0967d7679ecf37e61ec9347460e0f03.tar.gz |
2896
Diffstat (limited to '035refcount.cc')
-rw-r--r-- | 035refcount.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/035refcount.cc b/035refcount.cc index c0256c61..a3ea72f9 100644 --- a/035refcount.cc +++ b/035refcount.cc @@ -43,7 +43,7 @@ if (x.type->value == get(Type_ordinal, "address")) { return; } -:(scenario refcounts_4) +:(scenario refcounts_reflexive) def main [ 1:address:number <- new number:type # idempotent copies leave refcount unchanged @@ -55,7 +55,7 @@ def main [ +mem: decrementing refcount of 1000: 1 -> 0 +mem: incrementing refcount of 1000: 0 -> 1 -:(scenario refcounts_5) +:(scenario refcounts_call) def main [ 1:address:number <- new number:type # passing in addresses to recipes increments refcount |