Mpp resolve: fix actual/expect declaration lookup
Previously we would look fo expect declaration in common dependencies
as opposed to looking inside the module exclusively
This commit is contained in:
+1
@@ -1 +1,2 @@
|
||||
expect class My
|
||||
expect fun bar()
|
||||
+2
-1
@@ -1 +1,2 @@
|
||||
class <error descr="[ACTUAL_MISSING] Declaration must be marked with 'actual'">My</error>
|
||||
class My
|
||||
fun bar() {}
|
||||
+2
-1
@@ -1 +1,2 @@
|
||||
expect class My
|
||||
expect class My
|
||||
expect fun bar()
|
||||
Vendored
+3
@@ -1,3 +1,6 @@
|
||||
class My
|
||||
fun bar() {
|
||||
|
||||
}
|
||||
|
||||
actual fun foo(my: Any) {}
|
||||
Vendored
+3
-1
@@ -1 +1,3 @@
|
||||
expect class My
|
||||
expect class My
|
||||
|
||||
expect fun bar()
|
||||
+2
-1
@@ -1,3 +1,4 @@
|
||||
class <error descr="[ACTUAL_MISSING] Declaration must be marked with 'actual'">My</error>
|
||||
class My
|
||||
fun bar() {}
|
||||
|
||||
actual fun foo(my: My) {}
|
||||
Reference in New Issue
Block a user