Poor suggested method reporting in the presence of overloads #19958
Labels
area:reporting
Error reporting including formatting, implicit suggestions, etc
better-errors
Issues concerned with improving confusing/unhelpful diagnostic messages
itype:enhancement
Milestone
Compiler version
3.4.0
Minimized example
Output Error/Warning message
Why this Error/Warning was not helpful
The message was unhelpful because we repeat
Object.wait
three times, presumably because there are three overloaded methodswait
that have similar names as.unit
. This is useless, because those three overloads have the same name, and so displaying that name once is sufficientSuggested improvement
It should just say
The text was updated successfully, but these errors were encountered: