Commit graph

15 commits

Author SHA1 Message Date
Cyrus Najmabadi d3fbebf3fb Never use the entire span of a function declaration or function expression when reporting a checker error. 2015-03-04 18:15:55 -08:00
Yui T d7f607234a COMPLETE migrating grammar checking; No more errors 2014-12-16 19:30:08 -08:00
Yui T fdfd8d4863 Cleaning up migrating grammar checking 2014-12-16 19:11:07 -08:00
Yui T 9ab59a4964 Merge branch 'master' into refactorGrammarCheck
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/parser.ts
	src/compiler/types.ts
	tests/baselines/reference/YieldExpression8_es6.errors.txt
	tests/baselines/reference/ambientErrors.errors.txt
	tests/baselines/reference/giant.errors.txt
2014-12-16 17:38:40 -08:00
Yui T 8dc9f751a3 Complete grammar checking migration; there are still errors which will be fixed once pull master into the branch 2014-12-16 17:32:15 -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 bcf73a8207 Move grammar checking: enumDeclaration; there are still erros from incomplete grammar migration 2014-12-15 15:26:08 -08:00
Cyrus Najmabadi 9751dca809 Move property initializer checks to the grammar checker. 2014-11-19 18:06:01 -08:00
Cyrus Najmabadi 67afd6d570 Move ambient function block checks to the grammar checker. 2014-11-19 14:01:03 -08:00
Cyrus Najmabadi 5a7929aec7 Move variable grammar checks to the grammar checker. 2014-11-18 22:37:31 -08:00
Cyrus Najmabadi 78af519f5f Move enum checks to the grammar checker. 2014-11-18 22:18:21 -08: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
Anders Hejlsberg bc0be761cd New baselines. 2014-07-16 16:15:10 -07:00
Mohamed Hegazy 214df64e28 Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00