KT-614 Emit a warning when non-null type is checked for instance of nullable type

#KT-614 Fixed
This commit is contained in:
Vladimir Rudev
2013-01-13 17:32:53 +04:00
parent 65f1efb921
commit 290681ceee
5 changed files with 15 additions and 0 deletions
@@ -0,0 +1 @@
fun f(a: Collection<*>) = a is List<*><!USELESS_NULLABLE_CHECK!>?<!>