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:
parent
75ee817713
commit
54be5b044f
3 changed files with 6 additions and 12 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
// xfail-stage0
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
|
||||
fn start(chan[chan[str]] c) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue