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

review: fix: getTypeDeclaration() on nested record type #5015

Merged

Conversation

I-Al-Istannen
Copy link
Collaborator

The nested visitor did not consider records as it was written before their existence.

We might want to find a better upgrade story for such cases.

Co-authored-by: Hannes Greule <SirYwell@users.noreply.github.com>
Co-authored-by: Martin Wittlinger <wittlinger.martin@gmail.com>
@I-Al-Istannen I-Al-Istannen force-pushed the fix/get-type-declaration-nested-record branch from 42ae027 to b4eddca Compare November 17, 2022 20:07
MartinWitt
MartinWitt previously approved these changes Dec 20, 2022
@MartinWitt
Copy link
Collaborator

@I-Al-Istannen @SirYwell could both of you also mark this PR for approval (after a review) and we simply merge it?

@I-Al-Istannen
Copy link
Collaborator Author

Github won't let me approve it as I am the author. But consider this my approval :P

SirYwell
SirYwell previously approved these changes Dec 21, 2022
@MartinWitt
Copy link
Collaborator

@monperrus could you have a brief look and merge this PR? As all of us three are (co)authors.

Copy link
Collaborator

@slarse slarse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks functionally correct, I have a couple of minor comments

src/test/java/spoon/test/ctType/CtTypeTest.java Outdated Show resolved Hide resolved
@I-Al-Istannen I-Al-Istannen dismissed stale reviews from SirYwell and MartinWitt via 6024979 December 25, 2022 16:46
Copy link
Collaborator

@slarse slarse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks everyone. Now to see if I can manage to merge without removing all coauthorships.

@slarse slarse merged commit 0006e69 into INRIA:master Dec 26, 2022
@I-Al-Istannen I-Al-Istannen deleted the fix/get-type-declaration-nested-record branch December 26, 2022 19:48
@monperrus
Copy link
Collaborator

thanks all!

@monperrus monperrus mentioned this pull request Mar 9, 2023
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.

5 participants