Drop Incompatible.NoImpl, fix no "missing impl" on nested class
Header/impl declarations are now considered fully compatible even in the case when the impl declaration has no "impl" modifier. The error about no "impl" is now reported separately and only on the impl declaration, never on the header declaration #KT-20087 Fixed
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ class PlatformHeaderAnnotator : Annotator {
|
||||
|
||||
val trace = BindingTraceContext()
|
||||
for (module in implementingModules) {
|
||||
HeaderImplDeclarationChecker.checkHeaderDeclarationHasImplementation(declaration, descriptor, trace, module, checkImpl = false)
|
||||
HeaderImplDeclarationChecker.checkHeaderDeclarationHasImplementation(declaration, descriptor, trace, module)
|
||||
}
|
||||
|
||||
val suppressionCache = KotlinCacheService.getInstance(declaration.project).getSuppressionCache()
|
||||
|
||||
Reference in New Issue
Block a user