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

Fallback #19

Closed
nrc opened this issue Apr 21, 2015 · 1 comment
Closed

Fallback #19

nrc opened this issue Apr 21, 2015 · 1 comment

Comments

@nrc
Copy link
Member

nrc commented Apr 21, 2015

Where formatting produces an item or statement which exceeds the max width, we should warn the user and fallback to using the original source code. The aim should be to never make things worse, so we should assume the users failure is better than our failure.

Fallback should pretty much only be done at the highest level (i.e., not on sub-expressions). but we might want to be able to give up pre-emptively in some cases.

@marcusklaas
Copy link
Contributor

This is fixed now, I think.

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

No branches or pull requests

2 participants