Commit graph

8 commits

Author SHA1 Message Date
Cyrus Najmabadi f1a2e41a8a Sort diagnostics in our baseline output.
This was we don't get noisy baselines just because a different phase of the compiler reported
the diagnostic.

This helps with Yui's refactoring work to move grammar checks into the type checker.
2014-12-16 15:56:56 -08:00
Mohamed Hegazy dd7ca69866 Create a new flag for diagnostics 'isEarly' and disable emit if this flag is set. Set the flag by default on all let and const errors to ensure we are not emitting invalid JS code. 2014-10-20 17:38:50 -07:00
ChrisBubernak 2b4f48996e Moved the error check from parser to checker & updated baselines 2014-10-09 08:52:53 -07:00
Chris Bubernak 16f91b1ef3 fixed error message and updated necessary baselines 2014-10-08 17:23:16 -07:00
Chris Bubernak 8286b67c09 Fixed another bug in parser & fixed up baselines 2014-10-06 22:27:22 -07:00
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
Mohamed Hegazy 214df64e28 Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00