c34b417d0c
#KT-34744
15 lines
653 B
Kotlin
Vendored
15 lines
653 B
Kotlin
Vendored
fun foo() {
|
|
val topLevelDeclaration =
|
|
DescriptorUtils.getParentOfType(referencedDescriptor, PropertyDescriptor::class.java, false) as DeclarationDescriptor?
|
|
?: DescriptorUtils.getParentOfType(
|
|
referencedDescriptor,
|
|
TypeAliasConstructorDescriptor::class.java,
|
|
false
|
|
)?.typeAliasDescriptor
|
|
?: DescriptorUtils.getParentOfType(referencedDescriptor, FunctionDescriptor::class.java, false)
|
|
?: return emptyList()
|
|
}
|
|
|
|
// SET_FALSE: CONTINUATION_INDENT_IN_ARGUMENT_LISTS
|
|
// SET_FALSE: CONTINUATION_INDENT_FOR_EXPRESSION_BODIES
|