KT-1274 fixed tests

This commit is contained in:
Alexander.Podkhalyuzin
2012-02-21 16:09:59 +04:00
parent 0ed8e19eaf
commit 2e2287f207
5 changed files with 48 additions and 5 deletions
@@ -3,8 +3,10 @@ open class A(x: Int) {
fun m(x: Int) = 1
fun d(x: Int) {
m(1, false, false)
m(<caret>1, false, false)
}
}
/*
Text: (x: Int), Disabled: false, Strikeout: false, Green: false
Text: (x: Int, y: Boolean), Disabled: false, Strikeout: false, Green: false
*/
@@ -0,0 +1,19 @@
class A()
fun A.index(x: Int) : Int {
return 1
}
fun A.index(x: Int, y: Int) : Int {
return x + y
}
fun f() {
val command : A? = null
if (command != null){
command.index(<caret>)
}
}
/*
Text: (x: Int), Disabled: false, Strikeout: false, Green: false
Text: (x: Int, y: Int), Disabled: false, Strikeout: false, Green: false
*/