From da13c508d83032ca13679e1e122e96d25ac23283 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Tue, 2 Nov 2010 11:11:58 -0700 Subject: First pass on splitting stratum and opacity off of effects. WIP. --- src/test/run-pass/basic.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/test/run-pass/basic.rs') diff --git a/src/test/run-pass/basic.rs b/src/test/run-pass/basic.rs index 95e4bff8..a92247c9 100644 --- a/src/test/run-pass/basic.rs +++ b/src/test/run-pass/basic.rs @@ -1,6 +1,6 @@ // -*- rust -*- -io fn a(chan[int] c) { +impure fn a(chan[int] c) { if (true) { log "task a"; log "task a"; @@ -22,7 +22,7 @@ fn g(int x, str y) -> int { ret z; } -io fn main() { +impure fn main() { let int n = 2 + 3 * 7; let str s = "hello there"; let port[int] p = port(); @@ -37,7 +37,7 @@ io fn main() { log "children finished, root finishing"; } -io fn b(chan[int] c) { +impure fn b(chan[int] c) { if (true) { log "task b"; log "task b"; -- cgit v1.2.3