"Remove redundant toString": fix false positive for nested nullable
So #KT-24557 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
4038d4d507
commit
8969e7a6e1
@@ -0,0 +1,7 @@
|
||||
// IS_APPLICABLE: false
|
||||
// WITH_RUNTIME
|
||||
data class Foo(val name: String)
|
||||
|
||||
fun nullable2(foo: Foo?) {
|
||||
val s: String = foo?.name.toString()<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user