diagnostics for deprecated syntax of function type parameter list

This commit is contained in:
Dmitry Jemerov
2015-10-05 20:26:47 +02:00
parent c5d3673b6b
commit 7c20630272
156 changed files with 236 additions and 213 deletions
+2 -2
View File
@@ -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!
}
}