Quickfix for CANNOT_CHECK_FOR_ERASED.

This commit is contained in:
Michał Sapalski
2013-02-18 17:27:56 +01:00
committed by Evgeny Gerashchenko
parent 1f3739415a
commit 64321dce56
9 changed files with 50 additions and 5 deletions
@@ -0,0 +1,2 @@
// "Change type argument list to <*, *>" "true"
fun isStringToIntMap(map : Any) = map is Map<<caret>*, *>
@@ -0,0 +1,2 @@
// "Change type argument list to <*>" "true"
fun isStringList(list : Any) = list is List<<caret>*>?
@@ -0,0 +1,2 @@
// "Change type argument list to <*>" "true"
fun isStringList(list : Any?) = list is (List<<caret>*>)
@@ -0,0 +1,2 @@
// "Change type argument list to <*, *>" "true"
fun isStringToIntMap(map : Any) = map is Map<<caret>String, Int>
@@ -0,0 +1,2 @@
// "Change type argument list to <*>" "true"
fun isStringList(list : Any) = list is List<<caret>String>?
@@ -0,0 +1,2 @@
// "Change type argument list to <*>" "true"
fun isStringList(list : Any?) = list is (List<<caret>String>)