Navigation: add expect declarations as supers #KT-16892 Fixed
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
expect class Expected
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
actual class <caret>Expected
|
||||
|
||||
// REF: [common] (test).Expected
|
||||
+7
@@ -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()
|
||||
|
||||
+7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user