dsavvinov
03/05/2018, 9:12 AMorg.jetbrains.kotlin.diagnostics.Errors
, and look for that particular diagnostic (in your case, it's a CONFLICITNG_OVERLOADS
).
- Then, find its usages and check where it is reported. You're looking for calls to BindingTrace.report(SOME_DIAGNOSTIC_FACTORY_FROM_ERRORS.on(...))
.
Again, in your case there are some not-so-relevant usages, e.g. in LocalRedeclarationChecker
, and the main one is in the OverloadResolved.kt
, which is the answer to your question.