KT-2729 Warn on 'T?' where 'T' has a nullable upper bound
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
fun foo<T>(vararg <!UNUSED_PARAMETER!>ts<!>: T): T? = null
|
||||
fun foo<T: Any>(vararg <!UNUSED_PARAMETER!>ts<!>: T): T? = null
|
||||
|
||||
class Pair<A>(a: A)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user