Add classifier usage checker for missing dependency classes

This has no effect for the original use case of mock class descriptors
(unresolved classes used in libraries), but is necessary for pre-release
classes in case the compiler is a release, because such classes end up in scope
and can be the result of the resolution
This commit is contained in:
Alexander Udalov
2016-12-06 17:12:15 +03:00
parent 4e99349f1f
commit 11f975fe89
3 changed files with 39 additions and 11 deletions
@@ -69,7 +69,9 @@ object JvmPlatformConfigurator : PlatformConfigurator(
JavaTypeAccessibilityChecker()
),
additionalClassifierUsageCheckers = listOf(),
additionalClassifierUsageCheckers = listOf(
MissingDependencyClassChecker.ClassifierUsage
),
additionalAnnotationCheckers = listOf(
RepeatableAnnotationChecker,