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
+1
-1
@@ -12,7 +12,7 @@ public interface AnnotationsOnParenthesizedTypes {
|
||||
public abstract val lambdaParameterNP: (@A C) -> C
|
||||
public abstract val lambdaReceiver: (@A C).() -> C
|
||||
public abstract val lambdaReturnValue: () -> @A C
|
||||
public abstract val lambdaType: @A() () -> C
|
||||
public abstract val lambdaType: @A () -> C
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open fun parameter(/*0*/ a: @A C): kotlin.Unit
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ package
|
||||
public typealias Test0 = @A @B kotlin.Int
|
||||
public typealias Test1 = @A @A kotlin.Int
|
||||
public typealias Test2 = @A @B kotlin.Int
|
||||
public typealias Test3 = @A() (@A kotlin.Int) -> kotlin.Int
|
||||
public typealias Test3 = @A (@A kotlin.Int) -> kotlin.Int
|
||||
public typealias Test4 = @A @B kotlin.Int?
|
||||
public typealias Test5 = @A @B kotlin.Int?
|
||||
public typealias Test6 = @A @B kotlin.Int
|
||||
|
||||
Reference in New Issue
Block a user