3029 Commits

Author SHA1 Message Date
Anders Hejlsberg
667e82fba2 Addressing CR feedback + Run fourslash tests with ES5 emit 2014-12-15 15:16:54 -08:00
Anders Hejlsberg
b9db747117 Accepting new baselines. 2014-12-14 09:47:26 -08:00
Anders Hejlsberg
b878a27113 Support -target ES6 emit for destructuring, spread, and rest. 2014-12-14 09:43:14 -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
Cyrus Najmabadi
6ff58e3028 Don't emit error flags in the 262 baselines unless the node actually had an error.
This helps reduce clutter.
2014-12-12 12:41:59 -08:00
CyrusNajmabadi
7b528ddd2b Merge pull request #1464 from Microsoft/void0
Properly emit 'void 0' when emitting destructuring assignments.
2014-12-12 11:36:47 -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
Anders Hejlsberg
a1533b695b Implied type of binding pattern with rest element is always an array type 2014-12-12 10:55:21 -08:00
Mohamed Hegazy
90a9b3472a Merge pull request #1460 from Arnavion/compilefile-fail-task-on-error
Actually fail the surrounding jake task on errors in compileFile()
2014-12-12 09:02:09 -08:00
Arnavion
f6fd263cbd Actually fail the surrounding jake task on errors in compileFile() 2014-12-12 08:49:21 -08:00
Anders Hejlsberg
e26c3a68fc Correct type for rest element in destructuring declaration 2014-12-12 07:38:08 -08:00
Daniel Rosenwasser
001e29cd75 Merge pull request #1461 from Microsoft/fixProcessDiagMessagesProbWith1.4Merge
Fix processDiagnosticMessages script issue in master with a 1.4 merge
2014-12-12 00:31:16 -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
Anders Hejlsberg
a42df7547e Rest element support in array destructuring declarations 2014-12-11 18:27:08 -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
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
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
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
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
Daniel Rosenwasser
0ce3861602 Moved non-exposed functions to utilities; fix up emitted .d.ts in Jakefile.
Conflicts:
	src/compiler/parser.ts
2014-12-11 14:00:36 -08:00