FIR IDE: render short names as for completion lookup element types
This commit is contained in:
committed by
TeamCityServer
parent
a718a2c2d8
commit
f7cf80b8e9
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
package a
|
||||
|
||||
import a.O.uniqueName
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
class Test : java.lang.A<caret>
|
||||
|
||||
// ABSENT: Annotation
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
@kotlin.concurrent.<caret>
|
||||
|
||||
// INVOCATION_COUNT: 2
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
annotation class Anno
|
||||
typealias TypedAnno = Anno
|
||||
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
class C
|
||||
|
||||
fun C.test(foo: C.() -> Unit) {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
fun foo(xxx: String) {
|
||||
var xxx: Int = xx<caret>
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
fun foo(xxx: Int) {
|
||||
val xxx: Any = run {
|
||||
xx<caret>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
class C {
|
||||
val xxx = 1
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
class C {
|
||||
val xxx = 1
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
class C {
|
||||
inner class Inner {
|
||||
fun foo() {
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
interface I<T> {
|
||||
fun xxx(): T
|
||||
}
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
open class C<T> {
|
||||
fun foo(t: T): T = t
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user