KT-1360 Vararg bug in front-end

This commit is contained in:
Andrey Breslav
2013-01-31 18:33:23 +04:00
parent 1fcbf1721b
commit bbde38a6dc
5 changed files with 70 additions and 25 deletions
@@ -0,0 +1,13 @@
fun f(vararg <!UNUSED_PARAMETER!>t<!> : Int, <!UNUSED_PARAMETER!>f<!> : ()->Unit) {
}
fun test() {
f {}
f() {}
f(1) {
}
f(1, 2) {
}
}