Most specific method in diagnostic generation for overload resolution

B. Blaser bsrbnd at
Tue Sep 26 13:57:53 UTC 2017

Hi Maurizio,

On 26 September 2017 at 13:17, Maurizio Cimadamore
<maurizio.cimadamore at> wrote:
> One comment - we already have a method for 'filtering candidates' - see
> InapplicableSymbolsError::filterCandidates.
> Currently, that method is simply discarding methods with wrong arity if the
> compact diagnostics are enabled (default since JDK 8).
> I wonder if we could add to this method so that it would also filter out
> overridden methods? That way you could use the compiler flag to
> enable/disable the filtering.

This would probably be possible, we have to look at that too.
But is this really necessary to disable this filtering?
Do we really need to see all the overridden methods?


> Maurizio

More information about the compiler-dev mailing list