Kotlin: Respect override modifier in useless parameter query#9145
Kotlin: Respect override modifier in useless parameter query#9145tamasvajk merged 2 commits intogithub:mainfrom
override modifier in useless parameter query#9145Conversation
atorralba
left a comment
There was a problem hiding this comment.
LGTM. OOC, why isn't this covered by not this.(Method).overridesOrInstantiates(_) in the charpred?
Good question, I haven't investigated this now, I just added the modifier check next to the java equivalent: |
|
Does the signature mismatching inhibit dataflow from spotting a possible callee of an overridden method? If so we should fix that |
|
@smowton I've added an internal issue for this. |
atorralba
left a comment
There was a problem hiding this comment.
Approving under the assumption that we'll investigate and, if necessary, handle the dataflow issue in a separate PR.
bdc5065 to
5ce2573
Compare
No description provided.