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: fix snippet compilation bugs #3897

Merged
merged 9 commits into from
May 20, 2021

Conversation

andrewbwogi
Copy link
Contributor

@andrewbwogi andrewbwogi commented Apr 30, 2021

closes #3898

@andrewbwogi andrewbwogi changed the title wip: fix snippet compilation bugs review: fix snippet compilation bugs May 16, 2021
@andrewbwogi andrewbwogi changed the title review: fix snippet compilation bugs wip: fix snippet compilation bugs May 17, 2021
@slarse
Copy link
Collaborator

slarse commented May 18, 2021

@andrewbwogi FYI, to trigger the CI you can just close and re-open the PR. If you require a new commit, you can push an empty commit like so:

$ git commit --allow-empty -m 'Empty commit to trigger CI'
$ git push

@andrewbwogi
Copy link
Contributor Author

@slarse, good tip!

@andrewbwogi andrewbwogi changed the title wip: fix snippet compilation bugs review: fix snippet compilation bugs May 19, 2021
@monperrus
Copy link
Collaborator

Thanks @andrewbwogi LGTM.

Snippets were originally made only for quick pretty-printing of anything. On the fly snippet compilation was added afterwards and is indeed hard to get right in all situations.

@monperrus monperrus changed the title review: fix snippet compilation bugs fix: fix snippet compilation bugs May 20, 2021
@monperrus monperrus merged commit 89bb302 into INRIA:master May 20, 2021
@monperrus
Copy link
Collaborator

Thanks @andrewbwogi !

@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.

Problems with compiling code snippets
3 participants