[SLC] add more tests on vararg
^KT-61422
This commit is contained in:
committed by
Space Team
parent
3a577e1c31
commit
ecb808992d
+3
@@ -0,0 +1,3 @@
|
||||
public final class VarargParameterWithIncompletedTypeKt /* VarargParameterWithIncompletedTypeKt*/ {
|
||||
public static final /* vararg */ void someFun(error.NonExistentClass...);// someFun(error.NonExistentClass[])
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class VarargParameterWithIncompletedTypeKt /* VarargParameterWithIncompletedTypeKt*/ {
|
||||
public static final /* vararg */ void someFun(@org.jetbrains.annotations.NotNull() error.NonExistentClass...);// someFun(error.NonExistentClass[])
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
fun someFun(vararg values: )
|
||||
|
||||
// COMPILATION_ERRORS
|
||||
Vendored
+1
-1
@@ -1,3 +1,3 @@
|
||||
fun someFun(vararg values: )
|
||||
fun someFun(vararg values)
|
||||
|
||||
// COMPILATION_ERRORS
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface Fpp /* Fpp*/ {
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface Fpp /* Fpp*/ {
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
annotation class Fpp(vararg prop:)
|
||||
|
||||
// COMPILATION_ERRORS
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class Fpp /* Fpp*/ {
|
||||
public /* vararg */ Fpp(error.NonExistentClass...);// .ctor(error.NonExistentClass[])
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class Fpp /* Fpp*/ {
|
||||
public /* vararg */ Fpp(@org.jetbrains.annotations.NotNull() error.NonExistentClass...);// .ctor(error.NonExistentClass[])
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class Fpp(vararg prop:)
|
||||
|
||||
// COMPILATION_ERRORS
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface Fpp /* Fpp*/ {
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface Fpp /* Fpp*/ {
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
annotation class Fpp(vararg prop)
|
||||
|
||||
// COMPILATION_ERRORS
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class Fpp /* Fpp*/ {
|
||||
public /* vararg */ Fpp(error.NonExistentClass...);// .ctor(error.NonExistentClass[])
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class Fpp /* Fpp*/ {
|
||||
public /* vararg */ Fpp(@org.jetbrains.annotations.NotNull() error.NonExistentClass...);// .ctor(error.NonExistentClass[])
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class Fpp(vararg prop)
|
||||
|
||||
// COMPILATION_ERRORS
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface Fpp /* Fpp*/ {
|
||||
public abstract error.NonExistentClass[] prop();// prop()
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface Fpp /* Fpp*/ {
|
||||
public abstract error.NonExistentClass[] prop();// prop()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
annotation class Fpp(vararg val prop:)
|
||||
|
||||
// COMPILATION_ERRORS
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
public final class Fpp /* Fpp*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final error.NonExistentClass[] prop;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final error.NonExistentClass[] getProp();// getProp()
|
||||
|
||||
public /* vararg */ Fpp(error.NonExistentClass...);// .ctor(error.NonExistentClass[])
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
public final class Fpp /* Fpp*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final error.NonExistentClass[] prop;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final error.NonExistentClass[] getProp();// getProp()
|
||||
|
||||
public /* vararg */ Fpp(@org.jetbrains.annotations.NotNull() error.NonExistentClass...);// .ctor(error.NonExistentClass[])
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class Fpp(vararg val prop:)
|
||||
|
||||
// COMPILATION_ERRORS
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface Fpp /* Fpp*/ {
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface Fpp /* Fpp*/ {
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
annotation class Fpp(vararg prop)
|
||||
|
||||
// COMPILATION_ERRORS
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class Fpp /* Fpp*/ {
|
||||
public /* vararg */ Fpp(error.NonExistentClass...);// .ctor(error.NonExistentClass[])
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class Fpp /* Fpp*/ {
|
||||
public /* vararg */ Fpp(@org.jetbrains.annotations.NotNull() error.NonExistentClass...);// .ctor(error.NonExistentClass[])
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class Fpp(vararg prop)
|
||||
|
||||
// COMPILATION_ERRORS
|
||||
Reference in New Issue
Block a user