Convert Receiver to Parameter: Place new parameter at the start

This affects editor template only since Change Signature already
puts converted receiver at the parameter list start by default

 #KT-15543 Fixed
This commit is contained in:
Alexey Sedunov
2017-04-18 15:37:41 +03:00
parent 6f984d8260
commit c305a42128
5 changed files with 19 additions and 2 deletions
@@ -0,0 +1,3 @@
fun <caret>String.foo(s: String): String {
return this + s
}
@@ -0,0 +1,3 @@
fun <caret>foo(s1: String, s: String): String {
return s1 + s
}