DMD 1.001 release

JohnC johnch_atms at hotmail.com
Wed Jan 24 04:05:28 PST 2007


"Walter Bright" <newshound at digitalmars.com> wrote in message 
news:ep7fhf$1d3g$1 at digitaldaemon.com...
> JohnC wrote:
>> "Walter Bright" <newshound at digitalmars.com> wrote in message 
>> news:ep7b0h$155a$2 at digitaldaemon.com...
>>> JohnC wrote:
>>>> It appears that overriding TypeInfo implementations is no longer 
>>>> allowed. Was this intentional?
>>> TypeInfo is meant to be generated by the compiler.
>>
>> I understand that. But it was nice to be able to alter the default 
>> behaviour of TypeInfo_Aa, for example, to be locale-aware. That way I 
>> could easily get things like the .sort property for string arrays working 
>> correctly for languages with diacritics etc.
>
> How did you alter it?

Well, I simply redefined TypeInfo_Aa, deriving from TypeInfo, in a new 
module and overrode the appropriate methods. But now I get "previous 
definition different" optlink errors. 





More information about the Digitalmars-d-announce mailing list