Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong duplication detection on function overrides? #356

Open
satanTime opened this issue Nov 5, 2020 · 0 comments
Open

Wrong duplication detection on function overrides? #356

satanTime opened this issue Nov 5, 2020 · 0 comments
Assignees

Comments

@satanTime
Copy link

satanTime commented Nov 5, 2020

Hi everybody,

I met an interesting case. There are several different function overrides which are detected as a duplication, but I don't see a way how to solve them.

The idea is that the 3rd argument specifies the return generic type, every type is different.

https://codeclimate.com/github/ike18t/ng-mocks/lib/common/func.is-mock-of.ts/source#issue-a3a802d6774fc68bd1f39ab8a2b0cfa2

Might you help me to understand how this could be fixed?

Thank you in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants