1048 Commits

Author SHA1 Message Date
Steve Lucco
6d7045ec5a Merge pull request #2041 from Microsoft/TSServer
TS Server
2015-02-19 13:10:21 -08:00
Jason Freeman
5596993351 Merge branch 'master' into forOf
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	tests/baselines/reference/APISample_compile.js
	tests/baselines/reference/APISample_compile.types
	tests/baselines/reference/APISample_linter.js
	tests/baselines/reference/APISample_linter.types
	tests/baselines/reference/APISample_transform.js
	tests/baselines/reference/APISample_transform.types
	tests/baselines/reference/APISample_watcher.js
	tests/baselines/reference/APISample_watcher.types
2015-02-18 14:49:10 -08:00
Jason Freeman
6c32a6aca8 Address feedback 2015-02-18 14:39:07 -08:00
Jason Freeman
8558d642f3 Temporarily disallow for-of statements 2015-02-18 11:39:37 -08:00
Jason Freeman
7cb2a64350 Disallow type annotation on a for-of variable 2015-02-18 11:35:52 -08:00
Jason Freeman
147cc204b8 Disallow initializers in for-in and for-of loops 2015-02-18 11:35:46 -08:00
Jason Freeman
f7a6354470 More resilient error recovery when declaration in for-of is empty 2015-02-18 11:35:43 -08:00
Jason Freeman
cc81a670ac Fork grammar message into two messages 2015-02-18 11:35:40 -08:00
Jason Freeman
8d0829594c Accept baselines for added tests 2015-02-18 11:35:36 -08:00
Jason Freeman
2c4244d749 Accept API baseline changes 2015-02-18 11:35:26 -08:00
Jason Freeman
935c6024c2 Rebaseline after merge 2015-02-16 13:48:36 -08:00
Jason Freeman
7d7d54f6f0 Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-02-16 13:44:53 -08:00
Jason Freeman
87ea37f2e8 Accept baselines 2015-02-16 12:45:13 -08:00
Mohamed Hegazy
32e2f4d95d Accept APISamples baselines 2015-02-16 12:04:34 -08:00
Jason Freeman
ac829a8384 Error for naming an interface 'symbol' 2015-02-16 10:44:30 -08:00
Jason Freeman
65d831e8b3 Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols 2015-02-16 10:38:22 -08:00
Vladimir Matveev
9f7c252ee0 Merge pull request #2027 from Microsoft/redefinedLetConst
Disallow let\const declarations in the same scope with var declarations.
2015-02-13 15:14:09 -08:00
Jason Freeman
9c273d8133 Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols
Conflicts:
	src/services/services.ts
2015-02-13 14:52:03 -08:00
Daniel Rosenwasser
a1b90f0e32 Added baselines. 2015-02-13 13:33:12 -08:00
Vladimir Matveev
3d26fbc4d4 adjust error message text based on PR feedback 2015-02-13 13:12:51 -08:00
Daniel Rosenwasser
65e23b1e60 Added API baseline changes. 2015-02-12 16:46:25 -08:00
Vladimir Matveev
a9df539b7e added check that var and let\const cannot share scope, added check that var is not shadowed by the let\const from the inner scope 2015-02-12 16:37:07 -08:00
Jason Freeman
486cebd224 Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols 2015-02-12 11:03:35 -08:00
Mohamed Hegazy
a3aeecc8b6 accept baseline changes 2015-02-12 09:52:09 -08:00
togru
d94cbed413 Merge remote-tracking branch 'upstream/master' 2015-02-11 10:12:22 +01:00
Jason Freeman
a94e61bfcd Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
2015-02-10 16:20:32 -08:00
Jason Freeman
18276e5267 Address feedback from @yuit 2015-02-10 16:13:28 -08:00
Vladimir Matveev
f29d931bd9 disallow let to be used as name in let\const in ES6 2015-02-10 13:36:24 -08:00
Anders Hejlsberg
4b92e42b62 Merge pull request #1931 from Microsoft/spreadCall
Support spread operator in call expressions
2015-02-10 09:24:53 -08:00
togru
8492dfdffd moved AMD module sorting to emitter, updated test case 2015-02-10 10:28:09 +01:00
Mohamed Hegazy
9207d9dd22 Merge remote-tracking branch 'origin/master' into fourslashCleanup
Conflicts:
	src/harness/harnessLanguageService.ts
2015-02-09 09:31:19 -08:00
togru
a27a893eeb previous AMD ordering was not correct 2015-02-09 09:00:42 +01:00
togru
36990570c4 Added AMD dependency reordering, so import order matches with provided names 2015-02-09 08:44:34 +01:00
Cyrus Najmabadi
f1cb97b692 Add additional aggressive checks during incremental parsing. 2015-02-08 16:10:16 -08:00
Jason Freeman
75382c14f9 Accept baselines after rebase 2015-02-06 21:39:56 -08:00
Jason Freeman
eb5061971d Disable symbol indexer 2015-02-06 21:33:01 -08:00
Jason Freeman
35604426c8 Declaration emit for symbol properties 2015-02-06 21:32:54 -08:00
Jason Freeman
4c09ccd60e Check that Symbol properties are proper, and support downlevel type checking 2015-02-06 21:32:51 -08:00
Jason Freeman
83258629ea Fix error message 2015-02-06 21:32:44 -08:00
Jason Freeman
d07ed679a0 Support indexing with known symbols 2015-02-06 21:32:40 -08:00
Jason Freeman
df826de042 symbols in type guards 2015-02-06 21:32:37 -08:00
Jason Freeman
9f39a5388a Make Symbol the apparent type of symbol 2015-02-06 21:32:33 -08:00
Jason Freeman
fbeadbcbd3 Add test for new Symbol() 2015-02-06 21:32:30 -08:00
Jason Freeman
92617f5978 Don't pass prop.name directly for error reporting 2015-02-06 21:32:27 -08:00
Jason Freeman
6a6c03b9b7 Fix error message wording 2015-02-06 21:32:23 -08:00
Jason Freeman
2d1647485c Fix expression checking for symbols 2015-02-06 21:32:20 -08:00
Jason Freeman
d793658b7f Change Symbol to symbol in error messages 2015-02-06 21:32:16 -08:00
Jason Freeman
59a704e7c1 Rename references in es6.d.ts from Symbol to symbol 2015-02-06 21:32:13 -08:00
Jason Freeman
ebdd96bacf Update tests to use new symbol keyword 2015-02-06 21:32:05 -08:00
Jason Freeman
95af9978e1 Accept correct baselines for symbol property tests 2015-02-06 21:31:58 -08:00