Introduce language feature for array literals in annotations
This commit is contained in:
compiler/testData/codegen/light-analysis/collectionLiterals/collectionLiteralsInArgumentPosition.txt
Vendored
+4
-3
@@ -3,13 +3,14 @@ public final class CollectionLiteralsInArgumentPositionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method check(p0: boolean, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
|
||||
private final static method test(p0: kotlin.reflect.KFunction, p1: kotlin.jvm.functions.Function1): void
|
||||
public final static @Foo method test1(): void
|
||||
public final static @Foo method test2(): void
|
||||
public final static @Foo method test3(): void
|
||||
public final static @Foo @kotlin.Suppress method test1(): void
|
||||
public final static @Foo @kotlin.Suppress method test2(): void
|
||||
public final static @Foo @kotlin.Suppress method test3(): void
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
@kotlin.Suppress
|
||||
public annotation class Foo {
|
||||
public abstract method a(): float[]
|
||||
public abstract method b(): java.lang.String[]
|
||||
|
||||
Vendored
+2
-1
@@ -7,11 +7,12 @@ public final class CollectionLiteralsWithConstantsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method check(p0: boolean, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
|
||||
private final static method test(p0: kotlin.reflect.KFunction, p1: kotlin.jvm.functions.Function1): void
|
||||
public final static @Foo method test1(): void
|
||||
public final static @Foo @kotlin.Suppress method test1(): void
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
@kotlin.Suppress
|
||||
public annotation class Foo {
|
||||
public abstract method a(): int[]
|
||||
public abstract method b(): java.lang.String[]
|
||||
|
||||
Vendored
+1
@@ -8,6 +8,7 @@ public final class DefaultAnnotationParameterValuesKt {
|
||||
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
@kotlin.Suppress
|
||||
public annotation class Foo {
|
||||
public abstract method a(): int[]
|
||||
public abstract method b(): int[]
|
||||
|
||||
Reference in New Issue
Block a user