digitalmars.D.learn - weird constness by AA's
Why work this: http://dpaste.dzfl.pl/16a1c912 but not this: http://dpaste.dzfl.pl/6cebb0ad ?
Nov 15 2012
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
Nov 15 2012
On Thursday, 15 November 2012 at 21:25:15 UTC, Dan wrote:On Thursday, 15 November 2012 at 20:59:37 UTC, Namespace wrote:Ah, nice. I hope 2.061 comes soon.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
Nov 15 2012