KT-64051 [AA] Fix resolve of KDoc references to a typealias by full name
This commit is contained in:
committed by
Space Team
parent
8b7ca9527a
commit
df1d44b15f
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
typealias I = String
|
||||
|
||||
/**
|
||||
* [I.<caret_1>length] is unresolved
|
||||
* [String.<caret_2>length] is resolved
|
||||
*/
|
||||
fun usage() {}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
<caret_1> resolved to:
|
||||
Nothing (Unresolved reference)
|
||||
|
||||
<caret_2> resolved to:
|
||||
0: (in kotlin.String) open val length: kotlin.Int
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// FILE: a.kt
|
||||
/**
|
||||
* [b.B<caret>B]
|
||||
*/
|
||||
fun x() {}
|
||||
|
||||
// FILE: b.kt
|
||||
package b
|
||||
|
||||
typealias BB = Int
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
0: (in b) typealias BB = kotlin.Int
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
// FILE: a.kt
|
||||
import b.BB
|
||||
|
||||
/**
|
||||
* [B<caret>B]
|
||||
*/
|
||||
fun x() {}
|
||||
|
||||
// FILE: b.kt
|
||||
package b
|
||||
|
||||
typealias BB = Int
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
0: (in b) typealias BB = kotlin.Int
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* [kotlin.collections.A<caret>rrayList]
|
||||
*/
|
||||
fun x() {}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
0: (in kotlin.collections) typealias ArrayList<E> = java.util.ArrayList<E>
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
import kotlin.collections.ArrayList
|
||||
|
||||
/**
|
||||
* [A<caret>rrayList]
|
||||
*/
|
||||
fun x() {}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
0: (in kotlin.collections) typealias ArrayList<E> = java.util.ArrayList<E>
|
||||
Reference in New Issue
Block a user