diagnostics for deprecated syntax of function type parameter list
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// !CHECK_TYPE
|
||||
|
||||
fun foo<T: Any>(vararg <!UNUSED_PARAMETER!>ts<!>: T): T? = null
|
||||
fun <T: Any> foo(vararg <!UNUSED_PARAMETER!>ts<!>: T): T? = null
|
||||
|
||||
class Pair<A>(<!UNUSED_PARAMETER!>a<!>: A)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user