Fixing (or at least improving) translation of move semantics for send and receive. This let's us run all of the task-comm tests.

This commit is contained in:
Eric Holk 2011-07-22 16:05:26 -07:00
parent 75ee817713
commit 54be5b044f
3 changed files with 6 additions and 12 deletions

View file

@ -23,11 +23,10 @@ fn main() {
p = port();
child = spawn start(chan(p));
auto c;
p |> c;
c <| "A";
c <| "B";
task::yield();
auto c;
}

View file

@ -1,6 +1,4 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
fn start(chan[chan[str]] c) {