mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Currently, the only inconsistencies between K1 and K2 left are: - in K2 method type arguments are rendered - in K2 denotable types are rendered (they match the types that are generated when the method is chosen) - in K2 receiver parameters are rendered - the names of synthesized parameters ^KTIJ-30739 Fixed GitOrigin-RevId: 6aad4719b5bd7d40efaba8eb1fe10a57b8f9fdb1
19 lines
329 B
Kotlin
19 lines
329 B
Kotlin
// FIR_IDENTICAL
|
|
interface I<T> {
|
|
fun <U> a(t: T, u: U)
|
|
fun b()
|
|
fun c(t: T)
|
|
fun <U> d(t: T, u: U)
|
|
}
|
|
|
|
class <caret>C : I<Int> {
|
|
override fun b() {
|
|
}
|
|
|
|
override fun <U> d(t: Int, u: U) {
|
|
}
|
|
}
|
|
|
|
// MEMBER_K2: "<U> a(t: Int, u: U): Unit"
|
|
// MEMBER_K1: "a(t: Int, u: U): Unit"
|
|
// MEMBER: "c(t: Int): Unit" |