Skip to content

Commit

Permalink
[FE] 1.9.20 exclusive commit. Fix testData after previous two commits
Browse files Browse the repository at this point in the history
This is 1.9.20 exclusive commit. testData in 1.9.20 and master diverged
so much that I need special commits for the release branch
  • Loading branch information
nikitabobko authored and qodana-bot committed Oct 20, 2023
1 parent 22b9d50 commit d700cd1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ actual typealias <!ACTUAL_ANNOTATIONS_NOT_MATCH_EXPECT!>MyDeprecatedNotMatch<!>

actual typealias MyDeprecatedMatch = kotlin.Deprecated

actual typealias <!ACTUAL_CLASSIFIER_MUST_HAVE_THE_SAME_MEMBERS_AS_NON_FINAL_EXPECT_CLASSIFIER_WARNING, ACTUAL_CLASSIFIER_MUST_HAVE_THE_SAME_SUPERTYPES_AS_NON_FINAL_EXPECT_CLASSIFIER_WARNING!>MyAbstractIterator<!><T> = AbstractIterator<T>
actual typealias MyAbstractIterator<T> = AbstractIterator<T>
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,3 @@ actual class C3<D, E : MutableList<in D>>
compiler/testData/multiplatform/genericDeclarations/jvm.kt:15:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. You can use -Xexpect-actual-classes flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
actual abstract class AbstractList<F> : MutableList<F>, java.io.Serializable
^
compiler/testData/multiplatform/genericDeclarations/jvm.kt:15:17: warning: actual class 'AbstractList': actual class and its non-final expect class must declare exactly the same supertypes. Actual class declares the following supertypes that are not presented in expect class: 'Serializable'.
This error happens because the expect class 'AbstractList' is non-final. This warning will become an error in future releases.
Also see https://youtrack.jetbrains.com/issue/KT-22841 for more details
actual abstract class AbstractList<F> : MutableList<F>, java.io.Serializable
^

0 comments on commit d700cd1

Please sign in to comment.