Shouldn't __traits return Tuples?

Don nospam at nospam.com
Wed Apr 1 01:01:24 PDT 2009


Christopher Wright wrote:
> Trass3r wrote:
>> Christopher Wright schrieb:
>>> Buggy __traits is the major reason I'm not on d2. If __traits were 
>>> not buggy, I could do, god, so many things!
>>>
>>> Though it would be even better to have the runtime equivalent.
>>
>> Any chance traits get fixed anytime soon?
> 
> I was using __traits + CTFE around 2.006 through 2.011. Every release, 
> things were broken in new and incompatible ways. I could never narrow it 
> down sufficiently to get a good bug report (well, usually not), but I 
> could usually make it work by bashing my code in a few times.
> 
> The one consistent bug I found was fixed. So I could get back to it, but 
> I don't want to keep chasing the CTFE engine.

That situation should be much better now that we have all of the source 
code. If something changes, it'll be really easy to find exactly what 
caused the change.



More information about the Digitalmars-d mailing list