KT-2729 Warn on 'T?' where 'T' has a nullable upper bound
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
fun fooT22<T>() : T? {
|
||||
fun fooT22<T: Any>() : T? {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user