Spell checking errors can be hilarious

Steven Schveighoffer schveiguy at gmail.com
Mon Oct 12 23:52:28 UTC 2020


On 10/12/20 7:44 PM, Steven Schveighoffer wrote:
> On 10/12/20 5:37 PM, Walter Bright wrote:
>> On 10/12/2020 1:46 PM, Steven Schveighoffer wrote:
>>> What do you mean? Just add "to" : "std.conv". Is there a problem with 
>>> it?
>>
>> "Though for some reason std.conv.to is the 4th search result, after 
>> core.time.to, std.conv.castFrom.to, and (of all things) 
>> arsd.email.IncomingMessage.to."
>>
> 
> All of those are type members, one is not even in Phobos.

Actually, core.time.to is not a member function, and I've run into 
problems with it in the past (in terms of error messages).

It can't be a member function, because then it disables uses like to!string.

I think we should change the name of that particular function, but I've 
never used it, so I don't know how disruptive that would be.

-Steve


More information about the Digitalmars-d mailing list