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(ReferenceBuilder): Extract small reference-building subroutines into helpers #3981

Merged
merged 11 commits into from
Jun 9, 2021

Conversation

slarse
Copy link
Collaborator

@slarse slarse commented Jun 7, 2021

#3965

This PR extracts all of the "sufficiently small subroutines" in getTypeReference into methods of their own.

I can create one PR for each little helper, but as they edit code very close to each other I'd need to do them sequentially (wait for one to get merged before opening the next), so I figured I'd submit like this to begin with.

@monperrus Let me know if you want me to break it up into smaller PRs (perhaps split into 3 PRs with 3 extractions each?), or if this size is OK.

@slarse slarse changed the title refactor(ReferenceBuilder): Extract small reference-building subroutines into helpers review: refactor(ReferenceBuilder): Extract small reference-building subroutines into helpers Jun 7, 2021
@slarse slarse requested a review from monperrus June 7, 2021 13:16
@monperrus
Copy link
Collaborator

Thanks @slarse.

This refactoring has the good granularity. Hard to review manually but I fully trust the test suite. Will merge.

@monperrus monperrus changed the title review: refactor(ReferenceBuilder): Extract small reference-building subroutines into helpers refactor(ReferenceBuilder): Extract small reference-building subroutines into helpers Jun 9, 2021
@monperrus monperrus merged commit d09b8e4 into INRIA:master Jun 9, 2021
@slarse slarse deleted the issue/3965-extract-tiny-helpers branch June 9, 2021 07:54
@monperrus monperrus mentioned this pull request Aug 19, 2021
woutersmeenk pushed a commit to woutersmeenk/spoon that referenced this pull request Aug 29, 2021
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.

2 participants
  NODES
COMMUNITY 2
Project 3
USERS 1