Extract Function: Limit the set of allowed containers for the default action

This commit is contained in:
Alexey Sedunov
2014-06-02 14:20:08 +04:00
parent 966def6c77
commit ee52073488
14 changed files with 183 additions and 5 deletions
@@ -0,0 +1,11 @@
class A {
class B {
fun foo(a: Int, b: Int): Int {
return i(a, b)
}
fun i(a: Int, b: Int): Int {
return a + b - 1
}
}
}