From 46ef8e7e65f4120c0e0b5f5e19d8f8523d8c0957 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Fri, 30 May 2008 18:28:19 +0000 Subject: [PATCH] Annotated the move Rain testcase with the expected results --- testcases/move.rain | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/testcases/move.rain b/testcases/move.rain index f5ba6c6..8ee08ae 100644 --- a/testcases/move.rain +++ b/testcases/move.rain @@ -8,19 +8,19 @@ process foo (?[int]: in, ![int]: out) { in ? xs; in ? ys; - out ! xs; - out ! ys; + out ! xs; ### Copy + out ! ys; ### Move ys = []; seqeach (i : xs) { - ys = ys ++ [i + 5]; + ys = ys ++ [i + 5]; ### Move (ys) } - out ! xs; - out ! ys; + out ! xs; ### Copy + out ! ys; ### Move } - out ! xs; - ys = xs; - out ! ys; + out ! xs; ### Copy + ys = xs; ### Move + out ! ys; ### Move } process main (?uint8: in, ![uint8]: out, ![uint8]: err)