Create from usage: Added tests.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Create method 'get' from usage" "true"
|
||||
class Foo<T> {
|
||||
fun get(s: String, w: T): Any {
|
||||
throw Exception("not implemented") //To change body of created methods use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
fun <T> x (y: Foo<List<T>>, w: java.util.ArrayList<T>) {
|
||||
val z = y["", w]
|
||||
}
|
||||
Reference in New Issue
Block a user