-
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.
JVM IR: Resolve fake overrides during inline class mangling
This is necessary to determine which mangling scheme to use (KT-51672). (cherry picked from commit 1134dc3)
- Loading branch information
Steven Schäfer
authored and
Space
committed
Apr 14, 2022
1 parent
0c80614
commit 368465e
Showing
6 changed files
with
48 additions
and
6 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
.../tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxCodegenTestGenerated.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// MODULE: lib | ||
// WITH_STDLIB | ||
// TARGET_BACKEND: JVM | ||
// FILE: lib.kt | ||
@JvmInline | ||
value class S(val value: String) | ||
|
||
interface A { | ||
fun f(s: S): S = s | ||
} | ||
|
||
interface B : A | ||
|
||
// MODULE: main(lib) | ||
// FILE: main.kt | ||
interface C : B | ||
|
||
fun box(): String { | ||
return object : C {}.f(S("OK")).value | ||
} |
6 changes: 6 additions & 0 deletions
6
...new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
...w/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.