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

dev: Fix for missing TypeParams in methods #82

Merged
merged 3 commits into from
Jan 23, 2024
Merged

dev: Fix for missing TypeParams in methods #82

merged 3 commits into from
Jan 23, 2024

Conversation

butuzov
Copy link
Owner

@butuzov butuzov commented Jan 23, 2024

Due to golang/go#50956 I must to drop check for typeParams (which is nil for methods). So from now on, i am checking if param is interface implementation, then exclude one by one interface types.

Added new tests.

closes #37

due to golang/go#50956 I must to drop check
for typeParams (which is `nil` for methods). So from now on, i am
checking if param is interface implementation, then exclude one by one
interface types.

Added new tests.

closes #37
@butuzov butuzov changed the title dev: Fix for missing TypeParams in methods https://github.com/butuzov/ireturn/issues/37 dev: Fix for missing TypeParams in methods Jan 23, 2024
@butuzov butuzov merged commit 99b5347 into main Jan 23, 2024
5 of 6 checks passed
@butuzov butuzov deleted the fix/issue-37 branch January 23, 2024 07:20
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

Successfully merging this pull request may close these issues.

Ignore generic types
1 participant