Prohibit functions (and constructors) with multiple vararg parameters.

This commit is contained in:
Dmitry Petrov
2015-12-18 19:50:21 +03:00
parent ed2ad8e8e3
commit 142e85be04
11 changed files with 111 additions and 20 deletions
@@ -2,9 +2,9 @@ fun f(
<!VAL_OR_VAR_ON_FUN_PARAMETER!>val<!> a: Int,
<!VAL_OR_VAR_ON_FUN_PARAMETER!>var<!> b: Int,
c: Int,
vararg <!VAL_OR_VAR_ON_FUN_PARAMETER!>var<!> d: Int,
vararg <!VAL_OR_VAR_ON_FUN_PARAMETER!>val<!> e: Int,
vararg f: Int
<!MULTIPLE_VARARG_PARAMETERS!>vararg<!> <!VAL_OR_VAR_ON_FUN_PARAMETER!>var<!> d: Int,
<!MULTIPLE_VARARG_PARAMETERS!>vararg<!> <!VAL_OR_VAR_ON_FUN_PARAMETER!>val<!> e: Int,
<!MULTIPLE_VARARG_PARAMETERS!>vararg<!> f: Int
) {