[K/N][IR] Ref to expect property in actual declaration is not remapped
^KT-36880
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
expect class Foo {
|
||||
val p: Int
|
||||
fun bar(r: () -> Int = this::p): Int
|
||||
}
|
||||
actual class Foo {
|
||||
actual val p = 42
|
||||
actual fun bar(r: () -> Int) = r()
|
||||
}
|
||||
fun main() {
|
||||
println(Foo().bar())
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
// empty
|
||||
Reference in New Issue
Block a user