Is there any technical reason why
reference parameters are not supported for async methods?

My work around to this is simply to replace
  async void foo (ref X x)  // cannot compile

with
  async void foo (ClosureX cx)
where Closure is
  class ClosureX {
     X x;
  }

But why can't the compiler do this for us?
I must be missing something.

hand
Nor Jaidi Tuah


_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to