Spell checking errors can be hilarious

Walter Bright newshound2 at digitalmars.com
Fri Oct 16 07:09:39 UTC 2020


On 10/15/2020 5:56 AM, Steven Schveighoffer wrote:
> Walter, there's a bug in the compiler code that suggests an import for a symbol 
> such that in certain cases when you use the symbol and that symbol isn't 
> defined, it doesn't suggest the import. It doesn't suggest anything. It doesn't 
> shift to another spot. If you fix the bug, it should always suggest the import.

I don't agree that suggesting a global function for a .property is the most 
useful hint.

It's clearly a subjective opinion. But eventually there will be another "bug" 
report about why the hint is obviously wrong. That's par for the course whenever 
the compiler makes a suggestion about a fix.


More information about the Digitalmars-d mailing list