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:
Roman Golyshev
2024-01-22 15:59:40 +01:00
committed by Space Team
parent f402daba98
commit c0d54f9bbf
8 changed files with 63 additions and 1 deletions
@@ -0,0 +1,13 @@
package foo
interface foo
fun foo() {}
/**
* [<caret_1>foo]
*
* [<caret_2>foo.foo]
* [foo.<caret_3>foo]
*/
fun usage() {}