Fix false warning about check for instance of nullable type
#KT-12269 Fixed
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun <T : Any?> foo(x: T) {
|
||||
if (x is String<!USELESS_NULLABLE_CHECK!>?<!>) {
|
||||
if (x is String?) {
|
||||
x<!UNSAFE_CALL!>.<!>length
|
||||
|
||||
if (x != null) {
|
||||
|
||||
Reference in New Issue
Block a user