Callable Builder: Do not skip unused type parameters
This commit is contained in:
+2
-2
@@ -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.
|
||||
}
|
||||
Reference in New Issue
Block a user