KT-9883 prohibit using spread operator for nullable value

#KT-9883 Fixed
This commit is contained in:
Michael Nedzelsky
2015-11-25 17:18:25 +03:00
parent 63fa71606f
commit 2fa34ae170
9 changed files with 122 additions and 0 deletions

View 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"};
}