4d9b19da82
#KT-18539 Fixed
12 lines
241 B
Plaintext
Vendored
12 lines
241 B
Plaintext
Vendored
// "Create member function 'A.foo'" "true"
|
|
|
|
class A<T>(val n: T) {
|
|
fun foo(i: Int, s: String): A<T> = throw Exception()
|
|
fun foo(i: T): A<T> {
|
|
TODO("Not yet implemented")
|
|
}
|
|
}
|
|
|
|
fun test() {
|
|
val a: A<Int> = A(1).foo(2)
|
|
} |