Commit Graph
3963 Commits
Author SHA1 Message Date
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
Mohamed Hegazy f11ee8c9fc Merge pull request #2805 from Microsoft/moduleFixes
Fix #2538 and #2801
2015-04-17 10:31:38 -07: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
Zhengbo Li b22e0e9dff Merge pull request #2739 from zhengbli/SortOriginalDomThenUpdate
Updated dom related reference files according to new IE spec
2015-04-16 20:16:29 -07:00
Zhengbo Li 23f86db75c Changed the type for TypeTrack.Mode 2015-04-16 19:48:18 -07:00
Zhengbo Li e763b43783 Updated overloads that only differ in return type 2015-04-16 19:45:21 -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 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 13c3129665 Only error in <ES6. 2015-04-16 13:08:57 -07:00
Zhengbo Li 7770fbbba4 Removed properties of es6 only types from extensions.d.ts 2015-04-16 12:04:19 -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
Zhengbo Li 2aa5a5b831 Updated the interface definitions in extensions
Replaced the interfaces using the ones in es.d.ts
2015-04-16 10:50:56 -07:00
Mohamed Hegazy fb44a23b75 Merge pull request #2741 from zspitz/MSActiveXExtensions
Declarations+jsDoc for Enumerator, VBArray
2015-04-16 10:07:46 -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 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
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
Cyrus Najmabadi 87b06f4c3f Merge branch 'master' into symbolWriter2
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-15 17:01:36 -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 a2efe474cf Split symbol baselines from type baselines. 2015-04-15 16:44:20 -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
Jason Freeman 65790d1663 Check assignability recursively when source is type parameter with union constraint 2015-04-15 11:49:02 -07:00
Ron Buckton 3eb0a3abab PR Feedback and updated baselines 2015-04-14 23:22:58 -07:00
Mohamed Hegazy 97e1973b4d Merge branch 'master' into exposeHelpers 2015-04-14 23:09:35 -07:00
Mohamed Hegazy 27b79ff99a respond to code review commment 2015-04-14 22:57:06 -07:00
Zhengbo Li 428a6e931f Update according to comments
Added document string; changed back some method param types of interface Console from 'any' to 'string'; Removed static members from interface instance definition; Sorted overloads of 'addEventListener's by event name; Removed unnecessary declaration of the 'addEventListener' method in some interfaces; For method overloads, moved the most generic ones to the last; Removed named-constructors and dictionary interfaces from webworkers.generated.d.ts (including Audio, Image etc); Made all string overloads of 'getElementsByTagName' lower case for consistency.
2015-04-14 19:45:00 -07:00
Jason Freeman 2cadea2137 Merge branch 'master' of https://github.com/Microsoft/TypeScript into destructuringFixes 2015-04-14 17:13:06 -07:00
Jason Freeman cb9954bd20 The element/iterated type of any is any 2015-04-14 17:12:53 -07:00
Yui 2861fc2869 Merge pull request #2765 from Microsoft/moveAsKeywordOutFromStrict
Move asKeyword into correct section
2015-04-14 16:20:15 -07:00
Yui T 4783d9f252 Move asKeyword into correct section 2015-04-14 16:05:03 -07:00