google / traceur-compiler

Traceur is a JavaScript.next-to-JavaScript-of-today compiler
Apache License 2.0
8.18k stars 580 forks source link

Fix error reporting to output new lines #2000

Closed arv closed 8 years ago

arv commented 8 years ago

Our errors were reported as an array of strings which is not very useful.

arv commented 8 years ago

@johnjbarton PTAL

arv commented 8 years ago

I cleaned it up a bit. We did some strange things with MultipleError class when there was 0 or 1 error.

johnjbarton commented 8 years ago

LGTM