Skip to content

Fix underflow bug in rewrite_call #151

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

Merged
merged 1 commit into from
Jul 22, 2015
Merged

Fix underflow bug in rewrite_call #151

merged 1 commit into from
Jul 22, 2015

Conversation

marcusklaas
Copy link
Contributor

Closes https://github.com/nrc/rustfmt/issues/148. Rustfmt should be able to run on servo with this fix.

It now properly propagates the rewrite failure instead of panicking. Added regression test from servo code.

This example will be properly rewritten when https://github.com/nrc/rustfmt/issues/17 is fixed. I'm working on that.

Fixes https://github.com/nrc/rustfmt/issues/148.
Now properly propagates the rewrite failure instead of panicking. Added regression test from servo code. This example will be properly rewritten when https://github.com/nrc/rustfmt/issues/17 is addressed.
nrc added a commit that referenced this pull request Jul 22, 2015
Fix underflow bug in rewrite_call
@nrc nrc merged commit 609e621 into rust-lang:master Jul 22, 2015
@marcusklaas marcusklaas deleted the fix-for-servo branch September 11, 2015 09:23
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