Create From Usage: Add support of star projections/incorrect type arguments

#EA-62661 Fixed
This commit is contained in:
Alexey Sedunov
2015-03-10 14:22:59 +03:00
parent ab5a691612
commit f0b0fd07c5
11 changed files with 67 additions and 10 deletions
@@ -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.
}
@@ -0,0 +1,5 @@
// "Create function 'foo'" "true"
fun test(): Int {
return <caret>foo<String, *>(2, "2")
}