Cleanup: smart casts of safe call receiver applied (do NOT cherry-pick to 1.0.X)
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ private class TypePredicateImpl
|
||||
for (i in nameParts.lastIndex downTo 0) {
|
||||
if (nameParts[i] != descriptor?.name?.asString()) return false
|
||||
|
||||
descriptor = descriptor?.containingDeclaration
|
||||
descriptor = descriptor.containingDeclaration
|
||||
}
|
||||
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user