"Go to class / symbol / super" & type aliases
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
typealias TestGlobal = Any
|
||||
|
||||
fun some() {
|
||||
typealias TestInFun = Any
|
||||
}
|
||||
|
||||
interface SomeTrait {
|
||||
typealias TestInTrait = Any
|
||||
}
|
||||
|
||||
class Some() {
|
||||
typealias TestInClass = Any
|
||||
|
||||
companion object {
|
||||
typealias TestInClassObject = Any
|
||||
}
|
||||
}
|
||||
|
||||
// SEARCH_TEXT: Test
|
||||
// REF: typealias TestGlobal = Any
|
||||
// REF: typealias TestInClass = Any
|
||||
// REF: typealias TestInClassObject = Any
|
||||
// REF: typealias TestInTrait = Any
|
||||
@@ -0,0 +1,8 @@
|
||||
// FILE: before.kt
|
||||
interface Some
|
||||
typealias S = Some
|
||||
class <caret>SomeClass: S
|
||||
// FILE: after.kt
|
||||
interface <caret>Some
|
||||
typealias S = Some
|
||||
class SomeClass: S
|
||||
@@ -0,0 +1,23 @@
|
||||
typealias testGlobal = Any
|
||||
|
||||
fun some() {
|
||||
typealias testInFun = Any
|
||||
}
|
||||
|
||||
interface SomeTrait {
|
||||
typealias testInTrait = Any
|
||||
}
|
||||
|
||||
class Some() {
|
||||
typealias testInClass = Any
|
||||
|
||||
companion object {
|
||||
typealias testInClassObject = Any
|
||||
}
|
||||
}
|
||||
|
||||
// SEARCH_TEXT: test
|
||||
// REF: typealias testGlobal = Any
|
||||
// REF: typealias testInClass = Any
|
||||
// REF: typealias testInClassObject = Any
|
||||
// REF: typealias testInTrait = Any
|
||||
Reference in New Issue
Block a user