Commit graph

7 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
Yui T 296e8e01b3 Update Baselines 2014-10-01 11:27:20 -07:00
Yui T c2d86711e8 Update baselines 2014-09-30 18:09:55 -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
Daniel Rosenwasser 5b6bb5b649 Improved lookahead for arrow functions.
Fixes issue #34.

Specifically:
    * We no longer automatically assume "()" is a function expression. It must be followed by an arrow, colon, or curly brace.
    * If an arrow is missing following a signature, but a curly brace is present, we assume the user forgot the arrow and try to parse the body anyway.
2014-07-22 17:01:10 -07:00
Mohamed Hegazy 214df64e28 Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00