Fixed the case of "Any is/as List<*>" for erased cast diagnostic

This commit is contained in:
Andrey Breslav
2013-09-06 12:26:03 +04:00
parent 4cf5b94a4a
commit fca6182288
5 changed files with 45 additions and 13 deletions
@@ -0,0 +1,3 @@
class G<T>
fun f(q: Any) = q is G<*>
@@ -0,0 +1,3 @@
class G<T>
fun f<Q>(q: Q) = q is G<*>
@@ -0,0 +1,4 @@
class G<T>
trait Tr
fun f(q: Tr) = q is G<*>