diagnostics for deprecated syntax of function type parameter list
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
fun add(a: Int, b: Int) = a + b
|
||||
interface A {
|
||||
fun shuffle<T>(x: List<T>): List<T>
|
||||
fun foo<T>(f : (List<T>) -> List<T>, x : List<T>)
|
||||
fun <T> shuffle(x: List<T>): List<T>
|
||||
fun <T> foo(f : (List<T>) -> List<T>, x : List<T>)
|
||||
|
||||
fun f() : (Int, Int) -> Int = ::add
|
||||
}
|
||||
Reference in New Issue
Block a user