[Analysis API] resolve [this] in KDoc to extension receiver

^KT-62407 fixed
This commit is contained in:
Ilya Kirillov
2023-10-06 23:03:30 +02:00
committed by Space Team
parent a5a8f6736b
commit c32e7c723d
13 changed files with 258 additions and 0 deletions
@@ -0,0 +1,9 @@
// UNRESOLVED_REFERENCE
/**
* [th<caret>is]
*/
class A {
}
@@ -0,0 +1,8 @@
/**
* [th<caret>is]
*/
fun AAA.foo() {
}
class AAA
@@ -0,0 +1,2 @@
Resolved to:
0: extension receiver with type AAA
@@ -0,0 +1,8 @@
// UNRESOLVED_REFERENCE
/**
* [th<caret>is]
*/
fun foo() {
}
@@ -0,0 +1,7 @@
/**
* [th<caret>is]
*/
val AAA.foo
get() = 1
class AAA
@@ -0,0 +1,2 @@
Resolved to:
0: extension receiver with type AAA
@@ -0,0 +1,7 @@
// UNRESOLVED_REFERENCE
/**
* [th<caret>is]
*/
val foo
get() = 1