Is this a bug when creating proxies in classes?

Gary Willoughby via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Aug 28 08:50:49 PDT 2014


On Tuesday, 26 August 2014 at 20:41:47 UTC, Marc Schütz wrote:
> On Tuesday, 26 August 2014 at 18:13:52 UTC, Gary Willoughby 
> wrote:
>> With that in mind what is strange is that if in my example you 
>> change the class for a struct everything works as expected. 
>> Why is that?
>
> This is bizarre... I tried a few things, but I have no idea. At 
> first I thought the `static if` that calls `isArray` is inside 
> another `static if`, but this is not the case.
>
> Might be a compiler bug?

Anyone else know or can reduce this if it's a bug?


More information about the Digitalmars-d-learn mailing list