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: ignore null items in ReplacementVisitor #1400

Merged
merged 7 commits into from
Jun 21, 2017

Conversation

pvojtechovsky
Copy link
Collaborator

The ReplacementVisitor would fail if template parameter is null or an item of to be replaced collection is null.

@surli
Copy link
Collaborator

surli commented Jun 14, 2017

The code seems ok but could you create a unit test to cover it?

@pvojtechovsky
Copy link
Collaborator Author

Looks like most uncovered stuff does not comes from null but is there for long time...
I will probably do more tests till next Monday, will see how much time I will have.

@pvojtechovsky pvojtechovsky force-pushed the fixNullInReplacementVisitor branch from 7577366 to 2a2c700 Compare June 20, 2017 16:03
@pvojtechovsky pvojtechovsky force-pushed the fixNullInReplacementVisitor branch from 2a2c700 to 47cf6cd Compare June 20, 2017 16:45
@pvojtechovsky
Copy link
Collaborator Author

I am done with tests. It is ready for merge from my point of view.

@surli surli merged commit 2851b83 into INRIA:master Jun 21, 2017
@pvojtechovsky pvojtechovsky deleted the fixNullInReplacementVisitor branch June 22, 2017 18:32
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