diagnostics for deprecated syntax of function type parameter list
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
class Foo {
|
||||
fun bar(): String {
|
||||
fun foo<T>(t:() -> T) : T = t()
|
||||
fun <T> foo(t:() -> T) : T = t()
|
||||
foo { }
|
||||
return "OK"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user