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:
+2
-2
@@ -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 */ }
|
||||
|
||||
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user