Typedef.toString?

Meta jared771 at gmail.com
Thu Feb 22 20:26:17 UTC 2018


On Thursday, 22 February 2018 at 19:56:13 UTC, Denis F wrote:
> Hello!
>
> After replacing native type by std.typecons.Typedef I am faced 
> with fact what all typeDefValue.to!string was silently changed 
> its output to output of Typedef struct itself. It was too hard 
> find all this inclusions.  Maybe it is need to implement simple 
> toString method inside of Typedef struct? Or just disable it at 
> all?

Yes. I doubt this behaviour is intended, so it's likely an 
oversight in Typedef's implementation.




More information about the Digitalmars-d mailing list