TypeInfo or TypeMisInfo

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Wed Oct 19 02:42:21 PDT 2011


Well, i was thinking about making the fix myself, but i though maybe
there's logic behind this.
I'll file and enhancement request and start working on it as soon as i
have time.

On Wed, Oct 19, 2011 at 1:33 PM, bearophile <bearophileHUGS at lycos.com> wrote:
> Gor Gyolchanyan:
>
>> My question is: Why isn't TypeInfo immutable? It doesn't make any
>> sense to have a mutable type info.
>
> I guess the answer is just that TypeInfo was invented before the D2 const system was in place. In Druntime/Phobos there are many things that aren't pure/const/nothrow despite they need to be. I suggest to file an enhancement request, with all explanations. And if you are good enough, even to create a GitHub pull request about it.
>
> Bye,
> bearophile
>


More information about the Digitalmars-d mailing list