report conflicting overloads in functions with same parameters different type parameters

test case:

===
class Aaa() {
    fun f() = 1
    fun <P> f() = 1
}
===
This commit is contained in:
Stepan Koltsov
2012-02-18 00:33:37 +04:00
parent 3b56b90a7c
commit 842a70ca66
6 changed files with 82 additions and 46 deletions
@@ -0,0 +1,4 @@
class Aaa() {
<!CONFLICTING_OVERLOADS!>fun f()<!> = 1
<!CONFLICTING_OVERLOADS!>fun <P> f()<!> = 1
}