rascal
rascal copied to clipboard
"Declaration clashes with other declaration of function" error could highlight only the function name or header
I have a function with 36 overloads, one of which is missing a keyword parameter. Currently, my whole file is red squigglies which makes it harder to find the cause of the reported issue.
Propose to highlight only the function name, or the function signature with a squiggly.
Another idea could be to report only the function that is the "odd one out", in case there are more than 2 alternatives.