added fix "replace dot call with safe call" (from Sergey Ignatov)

This commit is contained in:
svtk
2011-12-27 17:44:35 +04:00
parent ee2fdbf0a9
commit 7f46ed8e53
5 changed files with 76 additions and 0 deletions
@@ -0,0 +1,4 @@
// "Replace with safe call" "true"
fun foo(a: Int?) {
a?.plus(1)
}
@@ -0,0 +1,4 @@
// "Replace with safe call" "true"
fun foo(a: Int?) {
a<caret>.plus(1)
}