808 Commits

Author SHA1 Message Date
Anders Hejlsberg
a667959b1f Accepting new baselines 2014-12-17 11:50:03 -08:00
Anders Hejlsberg
766756b4b1 Merge branch 'master' into spreadAndRest
Conflicts:
	src/compiler/parser.ts
2014-12-17 11:49:45 -08:00
Cyrus Najmabadi
99a189936f Remove last vestiges of the grammar checker from the parser now that it has been entirely moved to the TypeChecker. 2014-12-16 19:59:16 -08:00
Yui T
9c9bd34352 Address code review 2014-12-16 19:49:40 -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
Anders Hejlsberg
fab94d84e5 Merge branch 'master' into spreadAndRest
Conflicts:
	src/compiler/parser.ts
2014-12-16 18:09:21 -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
a3e8b6c6d7 Move grammar checking: interfaceDeclaration-remove it from checkModifiers in parser; there are still errors from incomplete grammar migration 2014-12-16 13:47:57 -08:00
Yui T
406576f1fc Move grammar checking: propertyDeclaration, propertySignature; there are still errors from incomplete grammar migration 2014-12-16 13:36:00 -08:00
Yui T
c525877aaa Move grammar checking: moduleDeclaration; there are still errors from incomplete grammar migration 2014-12-16 13:35:31 -08:00
Yui T
003515655e Move grammar checking: methodDeclaration; there are still erros from incomplete grammar migration 2014-12-16 12:51:42 -08:00
Yui T
7a4d8cd8ee Move grammar checking: setAccessor, getAccessor; there are still erros from incomplete grammar migration 2014-12-16 12:25:05 -08:00
Vladimir Matveev
59c73c5f34 Merge pull request #1466 from Microsoft/linked_imports
defer decision whether import used on the right side of import declarati...
2014-12-16 00:46:26 -08:00
Yui T
694771b2d7 Move grammar checking: functionDeclaration; there are still errors from incomplet grammar migration 2014-12-15 23:05:29 -08:00
Yui T
25a6302b48 Move grammar checking: forStatement 2014-12-15 18:39:44 -08:00
Yui T
010745c371 Move grammar checking: forInStatement; there are still errors from incomplete migration 2014-12-15 18:28:24 -08:00
Yui T
e0e88adfc5 Move grammar checking: variableDeclaration, variableStatements; there are still erros from incomplete grammar migration 2014-12-15 18:10:35 -08:00
Yui T
f22adf6785 Move grammar checking: constructorDeclaration; there are still errors from incomplete grammar migration 2014-12-15 16:42:31 -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
Yui T
28a115ef37 Move grammar checking: breakStatement, continueStatement; there are still errors from incomplete grammar migration 2014-12-15 15:05:31 -08:00
Yui T
b388eb3c2a Move grammar checking: taggedTemplateExpression 2014-12-14 21:12:14 -08:00
Yui T
1cc0d184bb Move grammar checking: shorthandPropertyAssignment; Add more parser test; there are still errors from incomplete migration 2014-12-14 19:14:02 -08:00
Yui T
eadcc06fa3 Move grammar checking: returnStatement; there are still error from incomplet grammar migration 2014-12-14 15:18:54 -08:00
Yui T
e852f3379c Move grammar checking: prefixUnaryExpression; There are still error from incomplete migration 2014-12-14 11:29:54 -08:00
Yui T
94d4ac28f9 Move grammar checking: postfixUnaryExpression 2014-12-14 11:12:45 -08:00
Anders Hejlsberg
b9db747117 Accepting new baselines. 2014-12-14 09:47:26 -08:00
Yui T
747eb7268d Move garmmar checking: numericLiteral; there are still error from incomplete migration 2014-12-13 14:08:27 -08:00
Yui T
2cf51e4639 Move grammar checking: objectLiteralExpression; there are still error from incomplete grammar migration 2014-12-13 13:55:16 -08:00
Yui T
3903a65062 Move grammar check: InterfaceDeclaration, HeritageClause 2014-12-12 15:52:27 -08:00
Yui T
56cf566f89 Move grammar checking: functionExpression 2014-12-12 15:10:01 -08:00
Anders Hejlsberg
3e436c5047 Adding new tests 2014-12-12 14:34:12 -08:00
Anders Hejlsberg
b416cbc599 Merge branch 'master' into spreadAndRest
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/parser.ts
2014-12-12 14:32:53 -08:00
Yui T
afc04c8db8 Move type checking: elementAccessExpression; there are still errors from not moving other grammar checking into type checker 2014-12-12 13:16:19 -08:00
Yui T
00449d80a3 Merge disallow computed property grammar error; there are still errors from generator and the fact that other grammar check haven't moved yet 2014-12-12 12:47:19 -08:00
Vladimir Matveev
c24f75fd73 defer decision whether import used on the right side of import declaration should be considered referenced 2014-12-12 11:48:46 -08:00
Cyrus Najmabadi
83f0c91999 Properly emit 'void 0' when emitting destructuring assignments. 2014-12-12 11:28:05 -08:00
Anders Hejlsberg
86a9c80ff8 Adding tests and accepting new baselines 2014-12-12 10:56:22 -08:00
Jason Freeman
8be44f111c Don't quote the word 'generators' in error messages
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
2014-12-12 10:41:21 -08:00
Jason Freeman
867e2a8b6f Disable computed properties in TypeScript 1.4
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2014-12-12 10:35:01 -08:00
Daniel Rosenwasser
854586e824 Merge branch 'release-1.4' into fixProcessDiagMessagesProbWith1.4Merge
Conflicts:
	tests/baselines/reference/APISample_node_compile.js
	tests/baselines/reference/APISample_node_compile.types
	tests/baselines/reference/APISample_standalone_compile.js
	tests/baselines/reference/APISample_standalone_compile.types
	tests/cases/compiler/APISample_node_compile.ts
	tests/cases/compiler/APISample_standalone_compile.ts
2014-12-12 00:09:23 -08:00
Daniel Rosenwasser
87b7ddd51b Merge pull request #1453 from Microsoft/fixSysDependencyForDiagnostics
Fix sys dependency for processDiagnosticMessages.ts
2014-12-12 00:03:43 -08:00
Daniel Rosenwasser
c5943de3cd Just temporarily removing the tests until we can get back into a good state. 2014-12-11 23:54:33 -08:00
CyrusNajmabadi
122d8a4d98 Merge pull request #1456 from Microsoft/mergeMarkers
Make the compiler resilient to encountering merge conflict markers in a source code file.
2014-12-11 18:04:25 -08:00
Jason Freeman
7f097140c9 Merge branch 'release-1.4' 2014-12-11 17:29:03 -08:00
Jason Freeman
06d7ef14cf Don't quote the word 'generators' in error messages 2014-12-11 17:22:22 -08:00
Cyrus Najmabadi
7df3a407c2 Make the compiler resilient to encountering merge conflict markers in a source code file. 2014-12-11 16:56:10 -08:00
Jason Freeman
d385f2ebf4 Disable computed properties in TypeScript 1.4 2014-12-11 16:49:53 -08:00