[FIR] Disallow bare types for nested type arguments
Detect missing WRONG_NUMBER_OF_TYPE_ARGUMENTS
This commit is contained in:
committed by
TeamCityServer
parent
21026cc704
commit
d4a11fc295
@@ -1,10 +0,0 @@
|
||||
interface Tr
|
||||
interface G<T>
|
||||
|
||||
fun test(tr: Tr): Any {
|
||||
return tr as G<G>
|
||||
}
|
||||
|
||||
fun test1(tr: Tr): Any {
|
||||
return tr as G.(G) -> G
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
interface Tr
|
||||
interface G<T>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user