KT-65152 [AA] Add extra test for package resolution
Make sure that, when ambiguous, both the package and the callable/class/property are resolved from KDoc reference. Do a slight refactoring of `KDocReferenceResolver` This behavior is also true for K1
This commit is contained in:
committed by
Space Team
parent
f402daba98
commit
c0d54f9bbf
+6
@@ -1623,6 +1623,12 @@ public class Fe10IdeNormalAnalysisSourceModuleReferenceResolveTestGenerated exte
|
||||
public void testLongPackage() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/referenceResolve/kDoc/packages/longPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("packageVsTopLevelDeclarations.kt")
|
||||
public void testPackageVsTopLevelDeclarations() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/referenceResolve/kDoc/packages/packageVsTopLevelDeclarations.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user