mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
This allows to fix some cases when there is a difference between explicit and short reference to default object Fix shorten reference, optimize imports and import insert helper for default objects ShortenReferences always transforms default object references to shorter form for now Fix DescriptorUtils#getFqName() for default objects (affects test data mostly) Fix DescriptorUtils#getImportableDescriptor()
26 lines
651 B
Plaintext
26 lines
651 B
Plaintext
package test
|
|
|
|
internal final class A {
|
|
/*primary*/ public constructor A()
|
|
|
|
internal class object Default {
|
|
/*primary*/ private constructor Default()
|
|
|
|
internal final annotation class Anno1 : kotlin.Annotation {
|
|
/*primary*/ public constructor Anno1()
|
|
}
|
|
|
|
internal final class B {
|
|
/*primary*/ public constructor B()
|
|
|
|
internal final annotation class Anno2 : kotlin.Annotation {
|
|
/*primary*/ public constructor Anno2()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
test.A.Default.Anno1() test.A.Default.B.Anno2() internal final class C {
|
|
/*primary*/ public constructor C()
|
|
}
|