Commit graph

7 commits

Author SHA1 Message Date
Daniel Rosenwasser 9f7782d392 Added error 'prologue' to each error baseline. 2014-09-12 13:35:07 -07:00
Daniel Rosenwasser ee86f8b711 Harness now prints category and code when running tests. 2014-09-11 16:11:08 -07:00
Daniel Rosenwasser 79735b4431 Simplified error recovery by just using 'parseTryStatement'. 2014-07-26 21:23:50 -07:00
Daniel Rosenwasser 0939f77d77 Added tests for missing 'try' parsing 2014-07-25 18:25:43 -07:00
Daniel Rosenwasser efb6db8757 Gracefully handle 'catch' and 'finally' blocks without a preceding 'try' block.
Fixes #216.

As a note of this fix, when a 'catch' block is followed by a 'finally' block, only the 'catch' keyword gets an error reported on it.
2014-07-25 18:10:27 -07:00
Daniel Rosenwasser 5fc2792297 Covered more cases for arrow functions omitting arrows.
Specifically where we have a full signature followed by an open curly brace.
2014-07-23 11:49:51 -07:00
Mohamed Hegazy 214df64e28 Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00