Add "expectedBy" to module descriptor and use it in checker
Now ExpectActualDeclarationChecker in IDE context uses common module descriptors for relevant checks. Compiler still uses own module instead (see comment in checker) So #KT-21771 Fixed
This commit is contained in:
Vendored
+1
@@ -0,0 +1 @@
|
||||
expect class My
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
expect fun foo(my: My)
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
class <error descr="[ACTUAL_MISSING] Declaration must be marked with 'actual'">My</error>
|
||||
|
||||
actual fun foo(my: My) {}
|
||||
Reference in New Issue
Block a user