Spell checking errors can be hilarious

Steven Schveighoffer schveiguy at gmail.com
Mon Oct 12 13:24:17 UTC 2020


Try this in a D file:

foo[] foos;

And you get an error like:

Error: undefined identifier foo, did you mean variable foos?

I know why this happens, is there a way to get it not to happen? Some of 
these can actually be really puzzling. I've seen stuff like "no 
identifier foo.bar, did you mean foo.bar?"

-Steve


More information about the Digitalmars-d mailing list