Merge pull request #433 from kuity/ReplaceInfixCallFix

Bug Fix for KT-4652 Replace with Infix Call
This commit is contained in:
Pavel Talanov
2014-04-21 04:44:44 -07:00
6 changed files with 43 additions and 0 deletions
@@ -0,0 +1,3 @@
fun foo(x: Int) {
x.tim<caret>es(1)
}
@@ -0,0 +1,3 @@
fun foo(x: Int) {
x times 1
}
@@ -0,0 +1,4 @@
// IS_APPLICABLE: false
fun foo(num: Int) {
n<caret>um.times(1)
}
@@ -0,0 +1,4 @@
// IS_APPLICABLE: false
fun foo(x: Int) {
x.times(<caret>1)
}