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
@@ -4,7 +4,7 @@ class GenericClass<out T>
public fun <K, V> GenericClass<Map<K, V>>.foo() {}
public fun bar<T>(t: T, ext: GenericClass<T>.() -> Unit) {}
public fun <T> bar(t: T, ext: GenericClass<T>.() -> Unit) {}
fun test() {
bar(mapOf(2 to 3)) { foo() }