[FIR] Fix disappeared ACTUAL_MISSING
^KT-59887 Fixed Review: https://jetbrains.team/p/kt/reviews/13244
This commit is contained in:
+4
-1
@@ -3,5 +3,8 @@ Exit code: OK
|
||||
Output:
|
||||
|
||||
-- JVM --
|
||||
Exit code: OK
|
||||
Exit code: COMPILATION_ERROR
|
||||
Output:
|
||||
compiler/testData/multiplatform/simpleNoImplKeywordOnTopLevelFunction/jvm.kt:3:5: error: declaration must be marked with 'actual'.
|
||||
fun foo(s: String): Array<CharSequence?> = arrayOf(s)
|
||||
^
|
||||
|
||||
+3
-3
@@ -5,6 +5,6 @@ Output:
|
||||
-- JVM --
|
||||
Exit code: COMPILATION_ERROR
|
||||
Output:
|
||||
compiler/testData/multiplatform/weakIncompatibilityWithoutActualModifier/common.kt:1:1: error: expect declaration `Foo` is incompatible with actual `Foo` because class kinds are different (class, interface, object, enum, annotation)
|
||||
expect class Foo
|
||||
^
|
||||
compiler/testData/multiplatform/weakIncompatibilityWithoutActualModifier/jvm.kt:1:11: error: declaration must be marked with 'actual'.
|
||||
interface Foo
|
||||
^
|
||||
|
||||
Reference in New Issue
Block a user