diagnostics for deprecated syntax of function type parameter list
This commit is contained in:
+2
-2
@@ -4,10 +4,10 @@ package a
|
||||
|
||||
class A {}
|
||||
|
||||
fun A.foo<T>(<!UNUSED_PARAMETER!>f<!> : T) {}
|
||||
fun <T> A.foo(<!UNUSED_PARAMETER!>f<!> : T) {}
|
||||
|
||||
val o = object {
|
||||
fun foo<T>(f: T) {
|
||||
fun <T> foo(f: T) {
|
||||
A().foo(f) // Ambiguity here!
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user