Navigation: Resolve typealiased SAM-references to type alias declaration

#KT-15302 Fixed
This commit is contained in:
Alexey Sedunov
2018-02-26 15:02:45 +03:00
parent 5bff4b9f39
commit 4609b2ae37
9 changed files with 45 additions and 3 deletions
@@ -0,0 +1,3 @@
public interface Runnable {
public abstract void run();
}
@@ -0,0 +1,2 @@
typealias S = Runnable
val r1 = S {}
@@ -0,0 +1,3 @@
public interface Runnable {
public abstract void run();
}
@@ -0,0 +1,2 @@
typealias /*rename*/R = Runnable
val r1 = R {}
@@ -0,0 +1,6 @@
{
"type": "MARKED_ELEMENT",
"mainFile": "test/test.kt",
"newName": "S",
"withRuntime": "true"
}