mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 08:31:29 +00:00
KT-9883 prohibit using spread operator for nullable value
#KT-9883 Fixed
This commit is contained in:
7
compiler/testData/codegen/boxWithJava/varargs/A.java
vendored
Normal file
7
compiler/testData/codegen/boxWithJava/varargs/A.java
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
public class A {
|
||||
public int foo(int x, String ... args) {
|
||||
return x + args.length;
|
||||
}
|
||||
|
||||
public static String[] ar = new String[] { "a", "b"};
|
||||
}
|
||||
Reference in New Issue
Block a user