Commit Graph
2533 Commits
Author SHA1 Message Date
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 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
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
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
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
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
unknown 9a2846ef72 Addressing CR feedback 2015-04-14 14:51:08 -07:00
unknown 7393898076 Merge branch 'master' into reducedUnionTypes 2015-04-14 14:03:05 -07:00
Jason Freeman 8f57867601 Merge branch 'master' of https://github.com/Microsoft/TypeScript into destructuringFixes 2015-04-14 12:58:50 -07:00
unknown 56e0fb0b35 Addressing CR feedback 2015-04-14 10:01:11 -07:00
Mohamed Hegazy fe75002450 Fix #2724: ensure checkIteratedTypeOrElementType returns a type 2015-04-13 19:41:29 -07:00
Jason Freeman 15e39f72ea Change parenthesizeForAccess to check isLeftHandSideExpression 2015-04-13 17:29:42 -07:00
Jason Freeman 66b50a1d62 Simplify handling of rest parameters with binding patterns in the checker 2015-04-13 17:29:39 -07:00
Jason Freeman 70c06ce8c6 Fix crash in emitter on rest parameters with binding patterns 2015-04-13 17:29:35 -07:00
Jason Freeman 2b83dfbf40 Properly emit nested destructuring in rest elements (fixes #2587) 2015-04-13 17:29:32 -07:00
Jason Freeman 051aa39f0d Some cleanup in emitDestructuring 2015-04-13 17:29:28 -07:00
Jason Freeman 1ec6164293 Remove unnecessary parameter to emitDestructuring 2015-04-13 17:29:25 -07:00
Jason Freeman 2b21cd9825 Disallow initializers in assignment rest elements 2015-04-13 17:29:21 -07:00
Jason Freeman e6ffb33adf Fix crash in rest element destructuring 2015-04-13 17:29:18 -07:00
Jason Freeman 5bfbcdcd25 Assignment rest element pretends to get the contextual element type 2015-04-13 17:29:14 -07:00
Jason Freeman f84ebba852 Rest assignment element allows nested destructuring (fixes #2156) 2015-04-13 17:29:11 -07:00
Jason Freeman e9f5acce75 Disallow binding patterns in rest parameters 2015-04-13 17:29:07 -07:00
Jason Freeman 2d3b22cbba Disallow binding patterns in binding rest elements (fixes #2519) 2015-04-13 17:21:19 -07:00
Cyrus Najmabadi 20961cdbd7 Insert @internal when we generate diagnostic messages. 2015-04-13 15:55:56 -07:00
Ron Buckton 1c9e9e0f19 Elide var when emitting a module merged with an ES6 class 2015-04-13 13:57:26 -07:00
Cyrus Najmabadi 4e0c26347f Use const. 2015-04-12 22:47:25 -07:00