-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FE 1.0] 2/2 Drop AllowDifferentMembersInActual from compiler and tes…
…tData The annotation was dropped in the previous commit
- Loading branch information
1 parent
882f468
commit 6982fa1
Showing
25 changed files
with
119 additions
and
136 deletions.
There are no files selected for viewing
12 changes: 0 additions & 12 deletions
12
...jetbrains/kotlin/test/runners/FirOldFrontendMPPDiagnosticsWithLightTreeTestGenerated.java
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
...n/org/jetbrains/kotlin/test/runners/FirOldFrontendMPPDiagnosticsWithPsiTestGenerated.java
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
...HasTheSameMembersAsNonFinalExpectClassifierChecker/allowDifferentMembersInActual_class.kt
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
...heSameMembersAsNonFinalExpectClassifierChecker/allowDifferentMembersInActual_typealias.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...eSameMembersAsNonFinalExpectClassifierChecker/supertypeIsExpectActual_injectMethod.fir.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// WITH_STDLIB | ||
// MODULE: m1-common | ||
// FILE: common.kt | ||
|
||
expect open class Base { | ||
fun existingMethodInBase() | ||
} | ||
|
||
expect open class Foo : Base { | ||
fun existingMethod() | ||
val existingParam: Int | ||
} | ||
|
||
// MODULE: m2-jvm()()(m1-common) | ||
// FILE: jvm.kt | ||
|
||
actual open class Base { | ||
actual fun existingMethodInBase() {} | ||
fun injected() {} | ||
} | ||
|
||
actual open class Foo : Base() { | ||
actual fun existingMethod() {} | ||
actual val existingParam: Int = 904 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...ierChecker/supertypeIsExpectActual_injectMethod_transitiveSubstitutionFakeOverride.fir.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// WITH_STDLIB | ||
// MODULE: m1-common | ||
// FILE: common.kt | ||
|
||
expect open class Base<T>() { | ||
fun existingMethodInBase(param: T) | ||
} | ||
|
||
open class Transitive : Base<String>() | ||
|
||
expect open class Foo : Transitive { | ||
fun existingMethod() | ||
val existingParam: Int | ||
} | ||
|
||
// MODULE: m2-jvm()()(m1-common) | ||
// FILE: jvm.kt | ||
|
||
actual open class Base<T> { | ||
actual fun existingMethodInBase(param: T) {} | ||
fun injected() {} | ||
} | ||
|
||
actual open class Foo : Transitive() { | ||
actual fun existingMethod() {} | ||
actual val existingParam: Int = 904 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...tClassifierChecker/supertypeIsExpectActual_supertypeIsActualTypealias_injectMethod.fir.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// WITH_STDLIB | ||
// MODULE: m1-common | ||
// FILE: common.kt | ||
|
||
expect open class Base() { | ||
fun existingMethodInBase() | ||
} | ||
|
||
expect open class Foo : Base { | ||
fun existingMethod() | ||
val existingParam: Int | ||
} | ||
|
||
// MODULE: m2-jvm()()(m1-common) | ||
// FILE: jvm.kt | ||
|
||
actual typealias Base = BaseImpl | ||
|
||
open class BaseImpl { | ||
fun existingMethodInBase() {} | ||
fun injected() {} | ||
} | ||
|
||
actual open class Foo : Base() { | ||
actual fun existingMethod() {} | ||
actual val existingParam: Int = 904 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...tActual_supertypeIsActualTypealias_injectMethod_transitiveSubstitutionFakeOverride.fir.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// WITH_STDLIB | ||
// MODULE: m1-common | ||
// FILE: common.kt | ||
|
||
expect open class Base<T>() { | ||
fun existingMethodInBase(param: T) | ||
} | ||
|
||
open class Transitive : Base<String>() | ||
|
||
expect open class Foo : Transitive { | ||
fun existingMethod() | ||
val existingParam: Int | ||
} | ||
|
||
// MODULE: m2-jvm()()(m1-common) | ||
// FILE: jvm.kt | ||
|
||
actual typealias Base<T> = BaseImpl<T> | ||
|
||
open class BaseImpl<T> { | ||
fun existingMethodInBase(param: T) {} | ||
fun injected() {} | ||
} | ||
|
||
actual open class Foo : Transitive() { | ||
actual fun existingMethod() {} | ||
actual val existingParam: Int = 904 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.