diagnostics for deprecated syntax of function type parameter list
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
fun test1<T>() = null as T
|
||||
fun test2<T>(): T {
|
||||
fun <T> test1() = null as T
|
||||
fun <T> test2(): T {
|
||||
val a : Any? = null
|
||||
return a as T
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user