deprecating types after colon
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
// !CHECK_TYPE
|
||||
|
||||
trait Tr
|
||||
trait G<T>
|
||||
|
||||
fun test(tr: Tr?) {
|
||||
val v = tr as <!NO_TYPE_ARGUMENTS_ON_RHS!>G?<!>
|
||||
v!!: G<*>
|
||||
checkSubtype<G<*>>(v!!)
|
||||
}
|
||||
Reference in New Issue
Block a user