-
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.
KT-43399 properly erase extension receiver type in property$annotations
- Loading branch information
Showing
7 changed files
with
107 additions
and
10 deletions.
There are no files selected for viewing
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: 21 additions & 0 deletions
21
compiler/testData/codegen/bytecodeListing/annotations/kt43399.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,21 @@ | ||
interface B { | ||
@A | ||
val Array<Int>.a: Int | ||
|
||
@A | ||
val Array<Array<Int>>.b: Int | ||
|
||
@A | ||
val Array<IntArray>.c: Int | ||
|
||
@A | ||
val Array<*>.d: Int | ||
|
||
@A | ||
val Array<out String>.e: Int | ||
|
||
@A | ||
val Array<in String>.f: Int | ||
} | ||
|
||
annotation class A |
29 changes: 29 additions & 0 deletions
29
compiler/testData/codegen/bytecodeListing/annotations/kt43399.txt
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 @@ | ||
@java.lang.annotation.Retention | ||
@kotlin.Metadata | ||
public annotation class A { | ||
// source: 'kt43399.kt' | ||
} | ||
|
||
@kotlin.Metadata | ||
public final class B$DefaultImpls { | ||
// source: 'kt43399.kt' | ||
public synthetic deprecated static @A method getA$annotations(p0: java.lang.Integer[]): void | ||
public synthetic deprecated static @A method getB$annotations(p0: java.lang.Integer[][]): void | ||
public synthetic deprecated static @A method getC$annotations(p0: int[][]): void | ||
public synthetic deprecated static @A method getD$annotations(p0: java.lang.Object[]): void | ||
public synthetic deprecated static @A method getE$annotations(p0: java.lang.String[]): void | ||
public synthetic deprecated static @A method getF$annotations(p0: java.lang.Object[]): void | ||
public final inner class B$DefaultImpls | ||
} | ||
|
||
@kotlin.Metadata | ||
public interface B { | ||
// source: 'kt43399.kt' | ||
public abstract method getA(@org.jetbrains.annotations.NotNull p0: java.lang.Integer[]): int | ||
public abstract method getB(@org.jetbrains.annotations.NotNull p0: java.lang.Integer[][]): int | ||
public abstract method getC(@org.jetbrains.annotations.NotNull p0: int[][]): int | ||
public abstract method getD(@org.jetbrains.annotations.NotNull p0: java.lang.Object[]): int | ||
public abstract method getE(@org.jetbrains.annotations.NotNull p0: java.lang.String[]): int | ||
public abstract method getF(@org.jetbrains.annotations.NotNull p0: java.lang.Object[]): int | ||
public final inner class B$DefaultImpls | ||
} |
5 changes: 5 additions & 0 deletions
5
compiler/tests/org/jetbrains/kotlin/codegen/BytecodeListingTestGenerated.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/org/jetbrains/kotlin/codegen/ir/IrBytecodeListingTestGenerated.java
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.