Commit graph

13 commits

Author SHA1 Message Date
Yui T 4f0a0481f6 Update tests 2015-04-08 22:06:55 -07:00
Yui T 696e6a30fc Update test and baseliens from parsing classLikeDeclaration in strict mode 2015-04-02 13:41:07 -07:00
Anders Hejlsberg 43af8716d0 Accepting new baselines 2015-03-02 12:21:53 -08:00
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 c1d509a940 Update and add test cases 2014-12-08 15:47:24 -08:00
Cyrus Najmabadi 13f319b6ec Add a lot of clarifying comments in the parser.
Simplify parser and avoid the need to pass around 'inNewExpression' information.

Make error span smaller for "new Foo[]" errors.
2014-11-29 14:51:25 -08:00
Cyrus Najmabadi b9353086a4 Move return checks to the grammar checker. 2014-11-19 15:30:35 -08:00
Cyrus Najmabadi 3dfa8bef24 Move contructor grammar checks into the grammar walker. 2014-11-18 22:46:35 -08:00
Cyrus Najmabadi 30ba527177 Move accessor grammar errors to the grammar checker. 2014-11-18 21:29:07 -08:00
Chris Bubernak 6044e3aea3 Made fixes based on CR feedback 2014-10-04 10:10:55 -07:00
Chris Bubernak e6b5591ae9 Updated baselines 2014-10-03 18:50:48 -07:00
Vladimir Matveev 649f5c01a4 do not report cascading errors in instanceof operator 2014-09-24 09:10:40 -07:00
Mohamed Hegazy 68687395b8 handle cases where we have a node with width 0 when reporting grammar errors 2014-09-19 09:44:47 -07:00