ffe0d9de70
Descriptors are already supposed to be sorted in scopes. The problem is that rendering descriptors for sorting takes a lot of time (~1.5% of total compilation time of intellij with JVM IR), and simple heuristics, like comparing by names first, don't fully help with it. #KT-48233
63 lines
1011 B
Plaintext
Vendored
63 lines
1011 B
Plaintext
Vendored
interface IFoo {
|
|
@Deprecated(message = "")
|
|
val prop: String
|
|
get(): String {
|
|
return ""
|
|
}
|
|
|
|
@Deprecated(message = "")
|
|
val String.extProp: String
|
|
get(): String {
|
|
return ""
|
|
}
|
|
|
|
}
|
|
|
|
class Delegated : IFoo {
|
|
constructor(foo: IFoo) /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
private /* final field */ val $$delegate_0: IFoo = foo
|
|
override val prop: String
|
|
override get(): String {
|
|
return <this>.#$$delegate_0.<get-prop>()
|
|
}
|
|
|
|
override val String.extProp: String
|
|
override get(): String {
|
|
return (<this>.#$$delegate_0, <this>).<get-extProp>()
|
|
}
|
|
|
|
}
|
|
|
|
class DefaultImpl : IFoo {
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class ExplicitOverride : IFoo {
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
override val prop: String
|
|
override get(): String {
|
|
return ""
|
|
}
|
|
|
|
override val String.extProp: String
|
|
override get(): String {
|
|
return ""
|
|
}
|
|
|
|
}
|