Create from usage: Added tests.

This commit is contained in:
Jack Zhou
2013-04-21 18:31:06 -04:00
parent 60fa732042
commit b7fe134b61
53 changed files with 691 additions and 5 deletions
@@ -0,0 +1,11 @@
// "Create method 'set' from usage" "true"
import java.util.ArrayList
class Foo<T> {
fun <T> x (y: Any, w: java.util.ArrayList<T>) {
y["", w] = w
}
}
fun <T> Any.set(s: String, w: ArrayList<T>, value: ArrayList<T>) {
throw Exception("not implemented") //To change body of created methods use File | Settings | File Templates.
}