Files
kotlin-fork/compiler/testData/diagnostics/tests/overload/ConflictingOverloadsIdenticalFunsTPInClass.jet
T
Stepan Koltsov 842a70ca66 report conflicting overloads in functions with same parameters different type parameters
test case:

===
class Aaa() {
    fun f() = 1
    fun <P> f() = 1
}
===
2012-02-18 00:33:37 +04:00

5 lines
108 B
Plaintext

class Aaa() {
<!CONFLICTING_OVERLOADS!>fun f()<!> = 1
<!CONFLICTING_OVERLOADS!>fun <P> f()<!> = 1
}