Spell checking errors can be hilarious
Steven Schveighoffer
schveiguy at gmail.com
Mon Oct 12 23:44:50 UTC 2020
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.
A member function or field has nothing to do with suggesting an import
-- if it was part of the type, it would be there to use, and would be a
different kind of error if you used it wrongly.
A much more useful search would be a different issue than suggesting an
import when *no* symbol is found.
-Steve
More information about the Digitalmars-d
mailing list