rascal icon indicating copy to clipboard operation
rascal copied to clipboard

"Declaration clashes with other declaration of function" error could highlight only the function name or header

Open jurgenvinju opened this issue 2 years ago • 1 comments

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.

image

jurgenvinju avatar Jun 30 '23 11:06 jurgenvinju

Another idea could be to report only the function that is the "odd one out", in case there are more than 2 alternatives.

jurgenvinju avatar Jun 30 '23 11:06 jurgenvinju