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

Fix type of "this" parameter in generic method body #48

Open
wants to merge 1 commit into
base: metadata-provider
Choose a base branch
from

Conversation

fcurdi
Copy link

@fcurdi fcurdi commented Aug 23, 2020

When extracting a method, the field Parameters contains the this parameter if it is not static, but its type is the generic method (not instantiated). This is changed to the the instantiation of that method with its generic parameters. This means that if a method is within a type SomeType that has generic parameter T, in the method body this should be of that type but instantiated with the generic parameter T.

@edgardozoppi edgardozoppi added this to To do in Initial release Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant