Commit graph

2453 commits

Author SHA1 Message Date
Mohamed Hegazy ded0e398b4 update error messages 2015-04-23 10:53:19 -07:00
Mohamed Hegazy 5172c172b7 Add more tests 2015-04-23 10:44:44 -07:00
Mohamed Hegazy ae4474aa40 Merge branch 'fix-2036' of https://github.com/csnover/TypeScript into csnover-fix-2036 2015-04-23 10:21:11 -07:00
Vladimir Matveev 05b95c30ff fixed formatting for equals token in type aliases 2015-04-22 21:46:10 -07:00
Jason Freeman 966c33796f Merge branch 'master' of https://github.com/Microsoft/TypeScript into iteratorTypeFix 2015-04-22 14:27:14 -07:00
Anders Hejlsberg 4a98c4680a Merge pull request #2804 from Microsoft/unionPropertyAccess
Only public properties accessible through union type
2015-04-22 14:16:30 -07:00
Anders Hejlsberg 3309e754c1 Merge pull request #2851 from Microsoft/circularTypeAlias
Support circular type aliases in signatures
2015-04-22 14:06:52 -07:00
Jason Freeman 2a2ef28fc6 Undo the change to return 2015-04-22 13:38:30 -07:00
Jason Freeman 4dc9da255f Fix Iterator type in es6.d.ts 2015-04-22 13:23:52 -07:00
Colin Snover 378b5ffd1a Add support for UMD-like module export format
The new module format enables global-less universal modules,
compatible with both AMD and CJS module loaders.

Fixes #2036.
2015-04-22 14:21:33 -05:00
CyrusNajmabadi 8a8d175f79 Merge pull request #2856 from Microsoft/blockLocals
Blocks with locals should be added to the container chain.
2015-04-21 17:40:52 -07:00
Cyrus Najmabadi 92756e135b Blocks with locals should be added to the container chain so we can detect name collisions in them. 2015-04-21 17:03:15 -07:00
Ron Buckton ce4c31094e Merge pull request #2853 from Microsoft/decoratorReflectTiming
Updated emit for __decorator and __metadata helpers
2015-04-21 16:32:48 -07:00
Ron Buckton 1295519b8f Updated emit for __decorator and __metadata helpers 2015-04-21 14:10:37 -07:00
Anders Hejlsberg cd48b965f8 Accepting new baselines 2015-04-21 12:08:42 -07:00
Anders Hejlsberg 8182b7132e Adding tests 2015-04-21 11:20:43 -07:00
Mohamed Hegazy ed2e105f17 Merge branch 'master' into rootDir 2015-04-20 14:23:40 -07:00
Mohamed Hegazy 021f309151 Merge branch 'master' into rootDir 2015-04-19 13:25:03 -07:00
Jason Freeman 31b5e72ed4 Accept symbol baseline 2015-04-17 18:36: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
Anders Hejlsberg cae274d0d8 Merge branch 'master' into unionPropertyAccess 2015-04-17 17:19:21 -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
Mohamed Hegazy bf51a3410f Merge branch 'Smarp-amd-es3' 2015-04-17 15:59:08 -07:00
Mohamed Hegazy 7ad98770e1 Accept baselines 2015-04-17 15:53:36 -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 28a0f941c8 Accept symbol baselines 2015-04-17 12:57:29 -07:00
Jason Freeman 8ca7805adb Merge branch 'master' of https://github.com/Microsoft/TypeScript into lazyBaseTypes 2015-04-17 12:52:17 -07:00
TruongSinh Tran-Nguyen d55dcc61cc exports.default in ES5 vs exports["default"] in ES3 2015-04-17 20:29:05 +03:00
Jason Freeman 8bf012b566 Add tests for not depending on base types 2015-04-16 18:15:03 -07:00
Mohamed Hegazy 9cda1df18c Merge branch 'master' into moduleFixes 2015-04-16 17:37:11 -07:00
Mohamed Hegazy a84e64698a Move amd-dependency erlier in the list 2015-04-16 17:32:40 -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 7ce1604c53 Accepted baselines. 2015-04-16 16:41:11 -07:00
Daniel Rosenwasser b0846d1a6b Accepted baselines. 2015-04-16 16:25:54 -07:00
Daniel Rosenwasser c7db1c3781 Added baselines. 2015-04-16 15:54:14 -07:00
Daniel Rosenwasser a634e6770a Added tests. 2015-04-16 15:26:59 -07:00
Daniel Rosenwasser c1c608eb1d Added tests. 2015-04-16 15:23:11 -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
unknown b94679c723 Merge branch 'master' into unionPropertyAccess 2015-04-16 14:42:44 -07:00
unknown 0e0cac8ce0 Adding test 2015-04-16 14:41:33 -07:00
Daniel Rosenwasser ce00997693 Added symbols files. 2015-04-16 13:29:20 -07:00
Daniel Rosenwasser 13c3129665 Only error in <ES6. 2015-04-16 13:08:57 -07:00
Daniel Rosenwasser 42c66a1597 Add/rename baselines. 2015-04-16 12:42:25 -07:00
Daniel Rosenwasser fc7be363f1 Added tests from 'captureArguments' branch. 2015-04-16 12:29:49 -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
CyrusNajmabadi a93971a40a Merge pull request #2787 from Microsoft/APISamplesBaselines
Don't run typewriter tests on the APISamples.  It's too noisy.
2015-04-15 18:18:12 -07:00
Jason Freeman 2c45e7252c Update baseline after merge again 2015-04-15 18:17:16 -07:00
Jason Freeman 0dd660960d Merge branch 'master' of https://github.com/Microsoft/TypeScript into destructuringFixes
Conflicts:
	tests/baselines/reference/iterableArrayPattern14.types
	tests/baselines/reference/iterableArrayPattern15.types
	tests/baselines/reference/iterableArrayPattern20.types
	tests/baselines/reference/iterableArrayPattern27.types
2015-04-15 18:12:49 -07:00
Cyrus Najmabadi 9ab6be3314 Don't run typewriter tests on the APISamples. It's too noisy. 2015-04-15 17:41:32 -07:00