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

refactor: CtFormalTypeDeclarer extends CtTypeMember #1235

Merged

Conversation

pvojtechovsky
Copy link
Collaborator

What about this small change in spoon model?

@monperrus
Copy link
Collaborator

what's the purpose?

@pvojtechovsky
Copy link
Collaborator Author

The code which collects formal type arguments of declaring types is little bit simpler if CtFormalTypeDeclarer extends CtTypeMember, because it is so. CtFormalTypeDeclarer already extends CtFormalTypeDeclarer, but it is not declared in model.

But if you have any reason why it is not good idea then close this PR. I have no problem with that.

@monperrus
Copy link
Collaborator

monperrus commented Mar 21, 2017 via email

@pvojtechovsky
Copy link
Collaborator Author

That all existing implementations of CtFormalTypeDeclarer already implements CtTypeMember

@monperrus
Copy link
Collaborator

monperrus commented Mar 21, 2017 via email

@msteinbeck
Copy link
Contributor

look good to me

@monperrus monperrus merged commit f190d8e into INRIA:master Mar 22, 2017
@pvojtechovsky pvojtechovsky deleted the FormalTypeDeclarerAsTypeMember branch March 22, 2017 20:51
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.

3 participants