Commit Graph

33920 Commits

Author SHA1 Message Date
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
Cyrus Najmabadi 14cb05f443 Add explanatory comments to explain how node moving works. 2014-12-11 23:39:44 -08:00
Cyrus Najmabadi c9f8aaecb6 Don't incrementally parse when teh old tree had no source module elements.
Also, provide explanatory comments as to why we pass setNodeParents:true.
2014-12-11 22:16:06 -08:00
Anders Hejlsberg a42df7547e Rest element support in array destructuring declarations 2014-12-11 18:27:08 -08:00
Cyrus Najmabadi 400cf91e96 Nodes are not resuable if the parser has a outstanding, unattached, parse error.
This is conservative, but safe.   If we wanted to support node reuse here,
we'd have to carefully ensure that the errors and tree shape would be the
same that hte normal parse would produce.
2014-12-11 18:23:14 -08:00
Cyrus Najmabadi 0391e02fee Merge branch 'master' into sourceFileUpdate
Conflicts:
	src/compiler/parser.ts
	src/services/formatting/tokenSpan.ts
	src/services/text.ts
2014-12-11 18:08:57 -08:00
Vladimir Matveev c189011d39 remove trailing comma 2014-12-11 18:08:12 -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
CyrusNajmabadi 353dd9f988 Merge pull request #1458 from Microsoft/test262ErrorBit
For 262 tests, emit a bit in the baseline stating if the node had an error or not.
2014-12-11 18:03:31 -08:00
Vladimir Matveev 9083fdf94d Merge pull request #1457 from Microsoft/extra_comma
remove trailing comma at the end of optionDeclarations array
2014-12-11 17:54:53 -08:00
Cyrus Najmabadi 11dd1ca00f For 262 tests, emit a bit in the baseline stating if the node had an error or not. 2014-12-11 17:53:24 -08:00
Vladimir Matveev 53bdd562c8 remove trailing comma 2014-12-11 17:47:29 -08:00
Anders Hejlsberg 6babef417f Rest element support in array literal destructuring assignment 2014-12-11 17:41:24 -08:00
Cyrus Najmabadi c8a2d5de1a CR feedback. 2014-12-11 17:35:02 -08:00
Jason Freeman 7f097140c9 Merge branch 'release-1.4' 2014-12-11 17:29:03 -08:00
Jason Freeman b2b17d5ae9 Merge pull request #1455 from Microsoft/disableComputedProperty
Disable computed properties in TypeScript 1.4
2014-12-11 17:27:07 -08:00
Jason Freeman e502a866df Merge branch 'release-1.4' into disableComputedProperty 2014-12-11 17:22:54 -08:00
Jason Freeman 06d7ef14cf Don't quote the word 'generators' in error messages 2014-12-11 17:22:22 -08:00
Mohamed Hegazy b87839dfb1 respond to code review commments 2014-12-11 17:08:18 -08:00
Mohamed Hegazy 1049b7139d Respond to code review comments 2014-12-11 17:08:11 -08:00
Mohamed Hegazy de73d50ee9 Remove compiletionSettings handeling from shims 2014-12-11 17:08:05 -08:00
Mohamed Hegazy 5f80804d3a Merge pull request #1431 from Microsoft/compilationSettingsCleanup
Remove compiletionSettings handeling from shims
2014-12-11 17:05:21 -08:00
Cyrus Najmabadi 402c57cf7e Adding classification test. 2014-12-11 17:04:21 -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
Daniel Rosenwasser 47ed584d12 Re-add baselines. 2014-12-11 16:39:54 -08:00
Daniel Rosenwasser cfca38f0af Remove baselines. 2014-12-11 16:39:32 -08:00
Yui T 279aa39467 Move grammar checking: classDeclaration; there are still errors from checking declare keyword and grammar checking of moduleDeclaration 2014-12-11 16:26:27 -08:00
Mohamed Hegazy 2f6bb57137 Merge branch 'release-1.4' into compilationSettingsCleanup 2014-12-11 16:24:05 -08:00
Anders Hejlsberg afa3111955 Check and emit of spread elements in array literals 2014-12-11 16:23:57 -08:00
Daniel Rosenwasser 90829b4f75 Merge pull request #1454 from Microsoft/mergeFor1.4ToMaster
Merge for release-1.4 to master
2014-12-11 16:16:44 -08:00
Daniel Rosenwasser 644951b1e0 Fixed old sys dependency, as sys is now ts.sys. 2014-12-11 16:03:49 -08:00
Yui T 4c91ae0040 Move checkGrammarCatchClause into checkTryStatement 2014-12-11 15:44:52 -08:00
Yui T 414a4a2295 Address code review 2014-12-11 15:38:24 -08:00
Cyrus Najmabadi fbeb7dd75e Merge branch 'funcDeclsInBlocks' into sourceFileUpdate
Conflicts:
	src/services/outliningElementsCollector.ts
2014-12-11 15:16:46 -08:00
Cyrus Najmabadi 63dbb78d02 Merge branch 'master' into sourceFileUpdate 2014-12-11 15:07:49 -08:00
Cyrus Najmabadi 76df92cc78 Merge branch 'master' into funcDeclsInBlocks 2014-12-11 14:59:03 -08:00
Yui T f13308be31 Move grammar checking: catchCaluse 2014-12-11 14:53:30 -08:00
Daniel Rosenwasser d92d6379bd Merge branch 'release-1.4' into mergeFor1.4ToMaster
Conflicts:
	src/compiler/parser.ts
	src/compiler/utilities.ts
	src/harness/harness.ts
	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-11 14:49:43 -08:00
Cyrus Najmabadi b692ea9b66 Remove TryBlock and FinallyBlock.
They break the rule that syntactically identical constructs use the same syntax kind.  This
prevents node reuse in incremental parsing.
2014-12-11 14:40:25 -08:00
Yui T b34a453cd4 Move grammar checking: bindingElement 2014-12-11 14:35:55 -08:00
Daniel Rosenwasser 987dd0cede Fixed 'use strict' check. 2014-12-11 14:21:39 -08:00
Daniel Rosenwasser 94cce178dd Responded to CR feedback.
Conflicts:
	src/compiler/parser.ts
2014-12-11 14:21:18 -08:00
Daniel Rosenwasser 036209a89e Moved createCompilerHost into parser.ts
Conflicts:
	src/compiler/tsc.ts
2014-12-11 14:11:01 -08:00
Yui T 0d99f1afd5 Move grammar checking: binaryExpression 2014-12-11 14:09:49 -08:00
Yui T a485fbbf5a Merge branch 'refactorGrammarCheck' of https://github.com/Microsoft/TypeScript into refactorGrammarCheck
Conflicts:
	src/compiler/checker.ts
2014-12-11 14:05:35 -08:00
Yui T d8621069c1 Address code review: move checkGrammarAnySignature into checkSignatureDeclaration 2014-12-11 14:02:09 -08:00
Daniel Rosenwasser 77d5d40d20 Fixed up baselines. 2014-12-11 14:02:07 -08:00
Mohamed Hegazy b45ab580d5 Add tests for public declarations 2014-12-11 14:02:01 -08:00