I’ve often thought it would be funny if instead of an error message for stuff like this, a language could be designed to be “typo-insensitive”. If a method or function call is similar enough to an existing one or a common one from other languages, to just have it silently use that.
VisualBasic did that. I think it is a mistake. But that doesn't mean that the compiler can't detect that and tell you how to fix it instead.
loading story #48226744
loading story #48226627
I hope you mean "funny" in the "hilarity ensues" sense.
Because the alternative is a rather sociopathic level of schadenfreude.
loading story #48226581