[nem-en] doesn't work: using(def a = A())
Valient Gough
valient at gmail.com
Mon Feb 6 17:38:45 CET 2006
On 2/5/06, Michal Moskal <michal.moskal at gmail.com> wrote:
> On 2/6/06, Valient Gough <valient at gmail.com> wrote:
> > But in Nemerle, trying this gives a compiler error:
> >
> > using(def a = A())
> > { ... }
>
> Just use:
>
> using (a = A ()) { ... }
>
> (in case you didn't know).
Ahh.. No, I didn't know. I'm glad to hear that the 'def' version
will be allowed in the future though - one less thing for me to trip
over (since I wouldn't have guessed this was the problem from the
error message).
thanks,
Valient
More information about the devel-en
mailing list