Commit graph

17 commits

Author SHA1 Message Date
Jason Freeman
1a8816f459 Address feedback 2014-11-26 20:10:49 -08:00
Jason Freeman
2bc1f4f4fa Update error codes 2014-11-25 16:09:03 -08:00
Jason Freeman
cf4f34c224 Add parser tests for computed properties 2014-11-25 16:08:53 -08:00
Cyrus Najmabadi
c7c1d6b03b Remove unnecessary state from the parser. 2014-11-19 22:15:32 -08:00
Vladimir Matveev
4fb489e64b move checking modifiers out of parser 2014-11-19 19:22:39 -08:00
Cyrus Najmabadi
67afd6d570 Move ambient function block checks to the grammar checker. 2014-11-19 14:01:03 -08:00
Cyrus Najmabadi
8b832a5713 Move ambient statement checks to the grammar checker. 2014-11-19 13:26:15 -08:00
Cyrus Najmabadi
30ba527177 Move accessor grammar errors to the grammar checker. 2014-11-18 21:29:07 -08:00
Cyrus Najmabadi
2961d23078 Skip error checks on node if any children produced errors. 2014-11-18 18:44:53 -08:00
Cyrus Najmabadi
34bb53f54c Use the entire indexer node for grammar error reporting. 2014-11-18 18:20:41 -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
fc80c300a0 Gracefully handle accessor declarations in ambient classes. 2014-07-25 13:21:55 -07:00
Daniel Rosenwasser
d33127ad34 Complain when a non-void/any function lacks a return expresson.
In effect this fixes #62.

Also
    - Changes the error message for get accessors lacking return expressions.
    - Actually checks for return expressions instead of return statements for get-accessors.
    - Removes fancy quotes.
    - Corrects errors in the compiler caught by the new check.
    - Simplified `checkAndAggregateReturnTypes` by extracting it out to `visitReturnStatements`.
2014-07-21 16:42:41 -07:00
Mohamed Hegazy
214df64e28 Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00