new static if bug Re: DMD 1.032 and 2.016 releases

Don nospam at nospam.com.au
Thu Jul 10 04:13:40 PDT 2008


Tom S wrote:
> Don wrote:
>> Fortunately, the fix is easy -- I think typeof(x.init) will always work.
> 
> Except for static arrays: typeof((int[2]).init) == int
> 
> 
Ouch.


More information about the Digitalmars-d-announce mailing list