ReplaceWith now functions correctly in built-ins #KT-9351 Fixed

This commit is contained in:
Mikhail Glukhikh
2015-09-28 15:35:19 +03:00
parent ee1175d5e5
commit 3ad628522a
3 changed files with 10 additions and 2 deletions
+1
View File
@@ -20,6 +20,7 @@ fun foo() {
val xx = valX
varX = 50
varY = 60
1.identityEquals(2)
}
fun unnecessarySafeCall(x: String) {
+1
View File
@@ -19,6 +19,7 @@ fun foo() {
val xx = valX
varX = 50
varY = 60
1 === 2
}
fun unnecessarySafeCall(x: String) {