Checking for conflicting substitutors in completion after "by"
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
class X<T> {
|
||||
operator fun getValue(thisRef: T, property: KProperty<*>): T = throw Exception()
|
||||
}
|
||||
|
||||
class C<T> {
|
||||
val property: Int by <caret>
|
||||
}
|
||||
|
||||
// ABSENT: X
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
class X<T>(t: T) {
|
||||
operator fun getValue(thisRef: T, property: KProperty<*>): T = throw Exception()
|
||||
}
|
||||
|
||||
class C<T> {
|
||||
val property: C<T> by <caret>
|
||||
}
|
||||
|
||||
// EXIST: { itemText: "X", tailText: "(t: C<T>) (<root>)" }
|
||||
Reference in New Issue
Block a user