KT-13266 Non-imported type aliases do not appear in completion
#KT-13266 Fixed
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
package test
|
||||
|
||||
class MyClass
|
||||
typealias MyAlias = MyClass
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test2
|
||||
|
||||
fun foo(ali<caret>)
|
||||
|
||||
// EXIST: { lookupString: "alias : MyAlias", itemText: "alias: MyAlias", typeText: "public typealias MyAlias = MyClass defined in test", attributes: "" }
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
package dependency
|
||||
|
||||
class MyClass
|
||||
typealias MyAlias = MyClass
|
||||
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
typealias MySameFileAlias = (String) -> Int
|
||||
private typealias MyPrivateAlias = (String, Char) -> Unit
|
||||
|
||||
val test: My<caret>
|
||||
|
||||
// EXIST: { lookupString: "MySameFileAlias", itemText: "MySameFileAlias", tailText: null, typeText: "public typealias MySameFileAlias = (String) -> Int defined in test", attributes: "" }
|
||||
// EXIST: { lookupString: "MyPrivateAlias", itemText: "MyPrivateAlias", tailText: null, typeText: "private typealias MyPrivateAlias = (String, Char) -> Unit defined in test", attributes: "" }
|
||||
// EXIST: { lookupString: "MyAlias", itemText: "MyAlias", tailText: null, typeText: "public typealias MyAlias = MyClass defined in dependency", attributes: "" }
|
||||
Reference in New Issue
Block a user