one more case of KT-445 Don't allow deep instanceof for erased parameters
=== (a : List<out Any>) is List<out Int> ===
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
// +JDK
|
||||
|
||||
import java.util.List
|
||||
|
||||
fun f(a : List<out Any>) = a is <!CANNOT_CHECK_FOR_ERASED!>List<out Int><!>
|
||||
Reference in New Issue
Block a user