Fix being unable to find declaration for substituted callable from library
#KT-5900 Fixed #KT-5901 Fixed
This commit is contained in:
@@ -33,7 +33,7 @@ public class JetClsFile(val provider: JetClassFileViewProvider) : ClsFileImpl(pr
|
||||
override fun getDecompiledPsiFile() = decompiledFile
|
||||
|
||||
public fun getDeclarationForDescriptor(descriptor: DeclarationDescriptor): JetDeclaration? {
|
||||
val key = descriptorToKey(descriptor)
|
||||
val key = descriptorToKey(descriptor.getOriginal())
|
||||
val range = provider.decompiledText.renderedDescriptorsToRange[key]
|
||||
if (range == null) {
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user