2567 Commits

Author SHA1 Message Date
Ron Buckton
706b5a100b Updated emit for __decorator and __metadata helpers 2015-04-21 16:34:14 -07:00
Mohamed Hegazy
7aee43b6da Merge branch 'master' into release-1.5 2015-04-20 15:48:15 -07:00
Mohamed Hegazy
ed2e105f17 Merge branch 'master' into rootDir 2015-04-20 14:23:40 -07:00
Mohamed Hegazy
08a869212b Respond to code review commmetns 2015-04-20 14:23:24 -07:00
Jason Freeman
02a480d85d Merge pull request #2824 from Microsoft/combineTypeMappers
Fix combineTypeMappers to use instantiateType
2015-04-20 12:53:05 -07:00
Mohamed Hegazy
021f309151 Merge branch 'master' into rootDir 2015-04-19 13:25:03 -07:00
Mohamed Hegazy
b3fcae88b9 Fix typo 2015-04-19 13:24:39 -07:00
Mohamed Hegazy
2049684154 Update version 2015-04-19 12:46:38 -07:00
Mohamed Hegazy
3013aba309 Merge branch 'master' into release-1.5
Conflicts:
	bin/tsc.js
	bin/typescript.js
	bin/typescriptServices.js
	src/compiler/program.ts
2015-04-19 12:44:53 -07:00
Daniel Rosenwasser
79dc0f96d3 Merge pull request #1546 from Arnavion/fix-emithost-this-binding
Don't lose the this reference for compilerHost methods.
2015-04-18 11:29:44 -07:00
Jason Freeman
ccf4104779 Change TypeMapper to only take a type parameter, and fix combineTypeMappers to comply with that rule 2015-04-17 18:28:38 -07:00
Daniel Rosenwasser
62036758a8 Merge pull request #2809 from Microsoft/noReservedWordsInBindingPatterns
Disallow reserved words for object binding pattern names
2015-04-17 17:06:50 -07:00
Daniel Rosenwasser
4134d79999 numberic. 2015-04-17 16:50:38 -07:00
Daniel Rosenwasser
dd9481996c word -> Word 2015-04-17 16:50:33 -07:00
Daniel Rosenwasser
23c76c3abb Removed unnecessary check since ShorthandPropertyAssignment's name is always an Identifier. 2015-04-17 16:50:00 -07:00
Mohamed Hegazy
c68f837052 Merge branch 'amd-es3' of https://github.com/Smarp/TypeScript into Smarp-amd-es3 2015-04-17 15:39:23 -07:00
Jason Freeman
c9d8c67ab6 Merge branch 'master' of https://github.com/Microsoft/TypeScript into lazyBaseTypes 2015-04-17 14:27:43 -07:00
Jason Freeman
47ccf77cea Address PR feedback 2015-04-17 14:27:31 -07:00
CyrusNajmabadi
ec574c337e Merge pull request #2820 from Microsoft/scannerLength
Support passing a start/length when creating a scanner.
2015-04-17 13:56:21 -07:00
Jason Freeman
8ca7805adb Merge branch 'master' of https://github.com/Microsoft/TypeScript into lazyBaseTypes 2015-04-17 12:52:17 -07:00
Cyrus Najmabadi
9e507baf7c Support passing a start/length when creating a scanner.
Conflicts:
	src/compiler/parser.ts
	src/compiler/scanner.ts
2015-04-17 12:27:24 -07:00
Cyrus Najmabadi
c2e178ee51 CR feedback. 2015-04-17 12:06:21 -07:00
Cyrus Najmabadi
605ee10768 Merge branch 'master' into getTypeFromTypeNode 2015-04-17 11:59:25 -07:00
TruongSinh Tran-Nguyen
d55dcc61cc exports.default in ES5 vs exports["default"] in ES3 2015-04-17 20:29:05 +03:00
Mohamed Hegazy
3298327ad0 update comments 2015-04-17 10:16:53 -07:00
Cyrus Najmabadi
d1c0f8780d Additional API cleanup. 2015-04-16 22:54:46 -07:00
Cyrus Najmabadi
89bfbd0cf3 Make StringLiterals and HeritageClauses into TypeNodes. It makes the checker much simpler and nicer. 2015-04-16 22:48:18 -07:00
Jason Freeman
2c4404b9c4 Clean up some repeated calls to getBaseTypes 2015-04-16 18:24:10 -07:00
Jason Freeman
3b1c833d67 Lazily compute base types 2015-04-16 18:14:59 -07:00
Mohamed Hegazy
9cda1df18c Merge branch 'master' into moduleFixes 2015-04-16 17:37:11 -07:00
Mohamed Hegazy
6163f5e11d Add comment 2015-04-16 17:37:01 -07:00
Mohamed Hegazy
a84e64698a Move amd-dependency erlier in the list 2015-04-16 17:32:40 -07:00
Mohamed Hegazy
d25d55ecc1 Respond to code review comments 2015-04-16 17:26:06 -07:00
Mohamed Hegazy
8964b8e5b6 Merge branch 'master' into rootDir
Conflicts:
	tests/baselines/reference/APISample_compile.types
	tests/baselines/reference/APISample_linter.types
	tests/baselines/reference/APISample_transform.types
	tests/baselines/reference/APISample_watcher.types
2015-04-16 16:52:51 -07:00
Daniel Rosenwasser
e36f47ab7e Expect a colon if the property was a reserved word. 2015-04-16 16:39:32 -07:00
Mohamed Hegazy
b6ef32346b Respond to code review comments 2015-04-16 16:35:48 -07:00
Mohamed Hegazy
55af7b36c7 Fix #2801: Sort module names for AMD preamble 2015-04-16 14:56:22 -07:00
Mohamed Hegazy
39d9720dd1 wire module lookcups for default import in ambient module declarations 2015-04-16 14:54:47 -07:00
Daniel Rosenwasser
feba8fbbde Alignment. 2015-04-16 14:39:34 -07:00
Daniel Rosenwasser
13c3129665 Only error in <ES6. 2015-04-16 13:08:57 -07:00
Ron Buckton
3b74503898 Merge pull request #2750 from Microsoft/fixES6Clodule
Elide var when emitting a module merged with an ES6 class
2015-04-16 11:53:24 -07:00
Jason Freeman
edf1ae6d36 Merge branch 'master' of https://github.com/Microsoft/TypeScript into destructuringFixes
Conflicts:
	src/compiler/utilities.ts
2015-04-15 17:23:12 -07:00
Jason Freeman
1cda3dc45d Fix parenthesizeForAccess to always parenthesize NewExpressions and NumberLiterals 2015-04-15 17:22:19 -07:00
CyrusNajmabadi
0b13ca4751 Merge pull request #2734 from Microsoft/singletonScanner
Use a single scanner for all parsing tasks.
2015-04-15 16:46:49 -07:00
Cyrus Najmabadi
b51230f794 CR feedback. Use a module instead. 2015-04-15 16:16:45 -07:00
Cyrus Najmabadi
ed12bef3cc Update diagnostics. 2015-04-15 15:53:24 -07:00
Cyrus Najmabadi
030276d517 Merge branch 'master' into singletonScanner 2015-04-15 15:48:59 -07:00
Jason Freeman
e05a94457e Fix up comment 2015-04-15 11:49:13 -07:00
Jason Freeman
628a5baf4a Improve error message for type parameter extending union 2015-04-15 11:49:10 -07:00
Jason Freeman
1d8fb49f4c Source type parameter extending union works even when target is a type parameter 2015-04-15 11:49:06 -07:00