Thread overview |
---|
November 15, 2012 weird constness by AA's | ||||
---|---|---|---|---|
| ||||
Why work this: http://dpaste.dzfl.pl/16a1c912 but not this: http://dpaste.dzfl.pl/6cebb0ad ? |
November 15, 2012 Re: weird constness by AA's | ||||
---|---|---|---|---|
| ||||
Posted in reply to Namespace | On Thursday, 15 November 2012 at 20:59:37 UTC, Namespace wrote:
> Why work this: http://dpaste.dzfl.pl/16a1c912
> but not this: http://dpaste.dzfl.pl/6cebb0ad
>
> ?
If it is any consolation - the latter does work in 2.061 but not 2.060. It prints:
[0:const(A), 1:const(A)]
Thanks
Dan
|
November 15, 2012 Re: weird constness by AA's | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dan | On Thursday, 15 November 2012 at 21:25:15 UTC, Dan wrote:
> On Thursday, 15 November 2012 at 20:59:37 UTC, Namespace wrote:
>> Why work this: http://dpaste.dzfl.pl/16a1c912
>> but not this: http://dpaste.dzfl.pl/6cebb0ad
>>
>> ?
>
> If it is any consolation - the latter does work in 2.061 but not 2.060. It prints:
> [0:const(A), 1:const(A)]
>
> Thanks
> Dan
Ah, nice. I hope 2.061 comes soon.
|
Copyright © 1999-2021 by the D Language Foundation