TypeInfo madness

Johan Engelen via Digitalmars-d digitalmars-d at puremagic.com
Mon Mar 7 00:49:36 PST 2016


On Monday, 7 March 2016 at 01:47:53 UTC, Yuxuan Shui wrote:
> On Sunday, 6 March 2016 at 23:27:45 UTC, Adam D. Ruppe wrote:
>> It is just a mistake that TypeInfo isn't immutable, in my 
>> opinion.
>>
>> ...though changing it would be a breaking change, I think it 
>> would make sense to do it.
>
> Is there really anything relies on TypeInfo being mutable?

LDC produces a crashing program when you change TypeInfo.name:
https://github.com/ldc-developers/ldc/issues/1337


More information about the Digitalmars-d mailing list