SourceNavigationHelper: fix navigation to callables

Previously we could differentiate between callables with the same name
    when relevant type declaration were in the same file only
Problem manifested most severely when several copies of sources were attached
    to the same library
This commit is contained in:
Pavel V. Talanov
2017-03-20 16:50:45 +03:00
parent d9a9d50602
commit dec9fa0324
5 changed files with 12 additions and 33 deletions
@@ -1,6 +1,6 @@
Double.class
Double.class
public final class Double public <3>constructor() {
MainKt.class
ExtraKt.class
public fun <1>processDouble(d: kotlin.Double): kotlin.Unit { /* compiled code */ }
public fun <2>processDouble(d: testData.libraries.Double): kotlin.Unit { /* compiled code */ }
@@ -1,6 +1,6 @@
main.kt
public class <3>Double
extra.kt
public fun <2>processDouble(d: Double) {}
public fun <1>processDouble(d: kotlin.Double) {}
main.kt
public class <3>Double