Ensure that Decompiler and IDE agree on rendered function types with parameterized annotations
findDecompiledDeclaration.kt: Use same DescriptorRenderer options as Decompiler DescriptorRendererImpl.kt: not enforce different AnnotationArgumentsRenderingPolicy for function type annotations This will fix KTIJ-563 where rendered Descriptors are used as Keys for GOTO navigation into decompiled sources. ^KTIJ-563 fixed
This commit is contained in:
committed by
Space
parent
122d04b9fa
commit
dcda47b502
@@ -38,7 +38,6 @@ internal class DescriptorRendererImpl(
|
||||
private val functionTypeAnnotationsRenderer: DescriptorRendererImpl by lazy {
|
||||
withOptions {
|
||||
excludedTypeAnnotationClasses += listOf(StandardNames.FqNames.extensionFunctionType)
|
||||
annotationArgumentsRenderingPolicy = AnnotationArgumentsRenderingPolicy.ALWAYS_PARENTHESIZED
|
||||
} as DescriptorRendererImpl
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user