989f07962b
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()
24 lines
527 B
Kotlin
24 lines
527 B
Kotlin
package a
|
|
|
|
import a.Outer.Default.Nested
|
|
import a.Outer.Default.NestedEnum
|
|
import a.Outer.Default.NestedObj
|
|
import a.Outer.Default.NestedTrait
|
|
import a.Outer.Default.NestedAnnotation
|
|
|
|
class Outer {
|
|
class object {
|
|
class Nested {
|
|
}
|
|
enum class NestedEnum {
|
|
}
|
|
object NestedObj {
|
|
}
|
|
trait NestedTrait {
|
|
}
|
|
annotation class NestedAnnotation
|
|
}
|
|
}
|
|
|
|
<selection>fun f(n: Nested, e: NestedEnum, o: NestedObj, t: NestedTrait, a: NestedAnnotation) {
|
|
}</selection> |