Navigation: Resolve typealiased SAM-references to type alias declaration
#KT-15302 Fixed
This commit is contained in:
@@ -31,6 +31,11 @@ import java.util.*
|
||||
|
||||
object DescriptorToSourceUtils {
|
||||
private fun collectEffectiveReferencedDescriptors(result: MutableList<DeclarationDescriptor>, descriptor: DeclarationDescriptor) {
|
||||
if (descriptor is DeclarationDescriptorWithNavigationSubstitute) {
|
||||
collectEffectiveReferencedDescriptors(result, descriptor.substitute)
|
||||
return
|
||||
}
|
||||
|
||||
if (descriptor is CallableMemberDescriptor) {
|
||||
val kind = descriptor.kind
|
||||
if (kind != DECLARATION && kind != SYNTHESIZED) {
|
||||
|
||||
Reference in New Issue
Block a user