Files
kotlin-fork/compiler/testData/diagnostics/tests/substitutions/kt4887.kt
T
2016-07-27 10:51:13 +03:00

8 lines
227 B
Kotlin
Vendored

package h
public class MyClass<S, T>(<!UNUSED_PARAMETER!>param<!>: MyClass<S, T>) {
fun test() {
val result: MyClass<Any, Any>? = null
MyClass<S, Any>(<!UNCHECKED_CAST!>result as MyClass<S, Any><!>)
}
}