Callable Builder: Do not skip unused type parameters

This commit is contained in:
Alexey Sedunov
2014-10-31 14:31:02 +03:00
parent 88dcd858a6
commit 2f98af1a8e
3 changed files with 16 additions and 11 deletions
@@ -1,9 +1,9 @@
// "Create function 'foo'" "true"
fun test(): Int {
return foo<String, Int>(2, "2")
return foo<String, Int, Boolean>(2, "2")
}
fun <T, T1> foo(arg: T1, arg1: T): T1 {
fun <T, T1, T2> foo(arg: T1, arg1: T): T1 {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}