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(spoon-control-flow): add switchExpression to visitor #3271

Merged
merged 1 commit into from
Feb 25, 2020

Conversation

MartinWitt
Copy link
Collaborator

@MartinWitt MartinWitt commented Feb 24, 2020

currently the ControlFlowBuilder doesn't override the method public <T, S> void visitCtSwitchExpression(CtSwitchExpression<T, S> switchExpression). With this fix the CI should work again, as soon as the latest snapshot with the merged switchexpressions #3259 is published on mavencentral. As soon as the new version is published this patch should compile. Updated version of spoon dependency, because CI is using the newest anyway.
Edit: Seems like the CI already has the newest version.

@MartinWitt MartinWitt marked this pull request as ready for review February 24, 2020 20:23
@nharrand
Copy link
Collaborator

Thanks for the PR. Could you add a test that covers this?

@MartinWitt
Copy link
Collaborator Author

MartinWitt commented Feb 24, 2020

it's only a stub adding the not overriden method. An empty method cant be tested or?

@monperrus monperrus changed the title WIP: Fix: add switchExpression to visitor fix(spoon-control-flow): add switchExpression to visitor Feb 25, 2020
@monperrus monperrus merged commit 6246d49 into INRIA:master Feb 25, 2020
@monperrus
Copy link
Collaborator

That's the right fix to make spoon-control-flow compile, thanks!

@monperrus monperrus mentioned this pull request Mar 20, 2020
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