Navigation: add expect declarations as supers #KT-16892 Fixed

This commit is contained in:
Mikhail Glukhikh
2018-03-07 18:09:45 +03:00
parent 849f9fc5c1
commit ab30275f14
10 changed files with 99 additions and 14 deletions
@@ -0,0 +1,3 @@
package test
expect class Expected
@@ -0,0 +1,5 @@
package test
actual class <caret>Expected
// REF: [common] (test).Expected
@@ -0,0 +1,7 @@
package test
expect class Expected {
fun foo(): Int
val bar: String
}
@@ -0,0 +1,10 @@
package test
actual class Expected {
actual fun <caret>foo() = 42
actual val bar = "Hello"
}
// REF: [common] (in test.Expected).foo()
@@ -0,0 +1,7 @@
package test
expect class Expected {
fun foo(): Int
val bar: String
}
@@ -0,0 +1,10 @@
package test
actual class Expected {
actual fun foo() = 42
actual val <caret>bar = "Hello"
}
// REF: [common] (in test.Expected).bar