eclipse-archived / ceylon.formatter

A formatter for the Ceylon programming language, written in Ceylon.
Apache License 2.0
14 stars 11 forks source link

Error recovery #42

Closed lucaswerkmeister closed 10 years ago

lucaswerkmeister commented 10 years ago

Currently, if any error occurs during formatting, the formatter will just exit and leave the file incomplete (as far as it got writing). This needs to change before release so that the formatter restores the file to its previous state.