Files
kotlin-fork/compiler/testData/diagnostics/tests/cast/bare/AsNestedBare.kt
T
2015-05-12 19:43:17 +02:00

10 lines
280 B
Kotlin
Vendored

interface Tr
interface G<T>
fun test(tr: Tr): Any {
return tr as G<<!WRONG_NUMBER_OF_TYPE_ARGUMENTS!>G<!>>
}
fun test1(tr: Tr): Any {
return tr as <!WRONG_NUMBER_OF_TYPE_ARGUMENTS!>G<!>.(<!WRONG_NUMBER_OF_TYPE_ARGUMENTS!>G<!>) -> <!WRONG_NUMBER_OF_TYPE_ARGUMENTS!>G<!>
}