FIR IDE: find FIR element by PSI one only if FIR have a real source
Also, add a check that there is only one element with the same real source
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// IGNORE_DUPLICATED_FIR_SOURCE_EXCEPTION
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
annotation class Ann(val value: KClass<*>)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_DUPLICATED_FIR_SOURCE_EXCEPTION
|
||||
fun test() {
|
||||
MyClass().test1
|
||||
MyClass().<warning descr="[DEPRECATION] 'setter for test1: Int' is deprecated. Use A instead">test1</warning> = 0
|
||||
|
||||
Reference in New Issue
Block a user