2 Make sure we can spawn tasks that take different types of
3 parameters. This is based on a test case for #520 provided by Rob
13 type ctx = comm::chan<int>;
15 fn iotask(&&args: (ctx, str)) {
17 assert (str::eq(ip, "localhost"));
21 let p = comm::port::<int>();
22 task::spawn((comm::chan(p), "localhost"), iotask);