diagnostics for deprecated syntax of function type parameter list
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ fun box(): String {
|
||||
return "OK"
|
||||
}
|
||||
|
||||
fun check<T>(param: T, f: (T) -> Unit): String {
|
||||
fun <T> check(param: T, f: (T) -> Unit): String {
|
||||
try {
|
||||
f(param)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user