Removed redundant getOriginal()
This commit is contained in:
+1
-4
@@ -44,10 +44,7 @@ public class JetPropertyDelegationMethodsReference(element: JetPropertyDelegate)
|
|||||||
}
|
}
|
||||||
return descriptor.getAccessors().map {
|
return descriptor.getAccessors().map {
|
||||||
accessor ->
|
accessor ->
|
||||||
val candidateDescriptor = context.get(BindingContext.DELEGATED_PROPERTY_RESOLVED_CALL, accessor)?.getCandidateDescriptor()
|
context.get(BindingContext.DELEGATED_PROPERTY_RESOLVED_CALL, accessor)?.getCandidateDescriptor()
|
||||||
//TODO: should not getOriginal here, because candidate descriptor should not have substituted type parameters
|
|
||||||
// remove after problem is solved
|
|
||||||
candidateDescriptor?.getOriginal()
|
|
||||||
}.filterNotNull()
|
}.filterNotNull()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user