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 'component3' from usage" "true"
class Foo<T> {
fun component1(): Int { return 0 }
fun component2(): Int { return 0 }
fun component3(): String {
throw Exception("not implemented") //To change body of created methods use File | Settings | File Templates.
}
}
fun foo() {
val (a, b, c: String) = Foo<Int>()
}