Files
aleksandrina-streltsova d2e2407a52 [kotlin] K2: align rendering of texts for members to override with K1 and update testdata
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
2024-07-29 10:03:19 +00:00

16 lines
367 B
Plaintext

// FIR_IDENTICAL
interface A {
var Int.foo : Double
}
class B : A {
override var Int.foo: Double
get() = <selection><caret>TODO("Not yet implemented")</selection>
set(value) {}
}
// MEMBER_K2: "Int.foo: Double"
// MEMBER_K1: "foo: Double"
// MEMBER: "equals(other: Any?): Boolean"
// MEMBER: "hashCode(): Int"
// MEMBER: "toString(): String"