Allow bare types on the right-hand side of as/as?/is/!is
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
trait Tr<T>
|
||||
trait G<T> : Tr<T>
|
||||
|
||||
fun test(tr: Tr<String>?) {
|
||||
val v = tr as G
|
||||
v: G<String>
|
||||
}
|
||||
Reference in New Issue
Block a user