Create From Usage: Add support of star projections/incorrect type arguments
#EA-62661 Fixed
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// "Create function 'foo'" "true"
|
||||
|
||||
fun test(): Int {
|
||||
return foo<String>(2, "2")
|
||||
}
|
||||
|
||||
fun <T> foo(i: Int, t: T): Int {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
// "Create function 'foo'" "true"
|
||||
|
||||
fun test(): Int {
|
||||
return <caret>foo<String, *>(2, "2")
|
||||
}
|
||||
Reference in New Issue
Block a user