Re: [Vala] [ANNOUNCE] Vala 0.7.6 - Compiler for the GObject type system
- From: Frederik <scumm_fredo gmx net>
- To: vala-list <vala-list gnome org>
- Subject: Re: [Vala] [ANNOUNCE] Vala 0.7.6 - Compiler for the GObject type system
- Date: Fri, 18 Sep 2009 14:11:21 +0200
Jürg Billeter wrote:
This is correct, there is only one instance of the variable `a' and that
instance is captured by the closure. You can also change the value of
`a' inside the closure and this will affect the outer method as well as
there is only one instance of this variable.
You're right, I have tried it now with C# and it's the same behaviour.
This was a bug in how delegates were returned from methods. This is now
fixed in master.
Thanks!
Best regards,
Frederik
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]