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:
Ilya Kirillov
2020-06-22 21:43:12 +03:00
parent 5acdad29ec
commit 9baced20c4
11 changed files with 159 additions and 11 deletions
@@ -1,3 +1,4 @@
// IGNORE_DUPLICATED_FIR_SOURCE_EXCEPTION
import kotlin.reflect.KClass
annotation class Ann(val value: KClass<*>)
+1
View File
@@ -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