Commit Graph

35940 Commits

Author SHA1 Message Date
Anders Hejlsberg f57991ef8d Support union and intersection types in checks 2015-07-11 09:35:36 -07:00
vvakame 86d106aff0 PR feedback 2015-07-11 20:55:27 +09:00
vvakame 75466e6321 Merge branch 'master' into addEsModule 2015-07-11 18:10:13 +09:00
Anders Hejlsberg 3fe75914ae Accepting new baselines 2015-07-10 19:18:17 -07:00
Anders Hejlsberg 11aecee9a6 Switch to assignability check and fix compiler bugs found by check 2015-07-10 19:16:53 -07:00
Arthur Ozga 50f254b2d2 Fixed Testing 2015-07-10 18:38:04 -07:00
Jason Freeman 72ef479ddd Add tests 2015-07-10 18:17:30 -07:00
Jason Freeman 59be264be5 Take the apparent type of the source in type argument inference 2015-07-10 18:17:26 -07:00
Dan Quirk 15a8544bfe Merge master 2015-07-10 18:10:18 -07:00
Dan Quirk 2f15958d32 Use new mocha-fivemat-progress-reporter by default instead of dot reporter 2015-07-10 18:08:19 -07:00
Daniel Rosenwasser a6d17d82c2 Pick your poition. 2015-07-10 17:58:49 -07:00
Daniel Rosenwasser 48ca1c49c4 Fixed conversion from forEach to for-of 2015-07-10 17:55:04 -07:00
Arthur Ozga 99d640f0f0 Actually move check outside the loop 2015-07-10 17:53:55 -07:00
Daniel Rosenwasser 616d84e4a0 Fix merge mistake. 2015-07-10 17:51:01 -07:00
Daniel Rosenwasser 55b39d45f6 Add analogous export test. 2015-07-10 17:33:56 -07:00
Daniel Rosenwasser e5b8f87927 Merge branch 'master' into exportSpecifierCompletions
Conflicts:
	src/services/services.ts
2015-07-10 17:30:20 -07:00
Daniel Rosenwasser 49af660595 Account for export/import specifier renames and namespace import names in completion. 2015-07-10 17:23:11 -07:00
Daniel Rosenwasser d394f25763 Added test for completion in namespace imports. 2015-07-10 17:20:47 -07:00
Dan Quirk babddd69b8 Remove broken badges 2015-07-10 16:55:25 -07:00
Daniel Rosenwasser afec273e87 Clarify function name. 2015-07-10 16:49:02 -07:00
Daniel Rosenwasser 5c03b8ef12 Updated baselines. 2015-07-10 16:27:55 -07:00
Daniel Rosenwasser 69f93fe116 Added error recovery for missing 'from' keyword in an export declaration. 2015-07-10 16:27:40 -07:00
Daniel Rosenwasser 120d0d11a0 Accepted baselines. 2015-07-10 16:20:25 -07:00
Daniel Rosenwasser 7a0b224ba5 Added tests. 2015-07-10 16:20:12 -07:00
Daniel Rosenwasser a309b1dd67 Handle export declarations with module specifiers as well. 2015-07-10 15:38:06 -07:00
Jason Freeman d57e8d17c0 Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixingTypeParameters
Conflicts:
	src/compiler/checker.ts
2015-07-10 15:26:51 -07:00
Daniel Rosenwasser 123e02974e Newline. 2015-07-10 15:22:38 -07:00
Ron Buckton a78421fea0 Merge pull request #3690 from Microsoft/moveTypeSerializationToEmitter
Move type serialization to emitter
2015-07-10 14:01:18 -07:00
Ron Buckton bba6d1e564 Added type serialization for intersection types 2015-07-10 13:56:00 -07:00
Arthur Ozga 35d2592a51 Updated Baselines 2015-07-10 13:51:16 -07:00
Arthur Ozga e6cf920664 separated tests for readability 2015-07-10 13:47:50 -07:00
Arthur Ozga 4842501ecb Move assignability test outside inner loop 2015-07-10 13:44:59 -07:00
Ron Buckton a894f04495 Merge branch 'master' into moveTypeSerializationToEmitter 2015-07-10 13:18:56 -07:00
Ron Buckton 990ce29c00 PR feedback 2015-07-10 13:13:42 -07:00
Yui e72d0d896a Merge pull request #3643 from Microsoft/completionListWithLocalName
Completion list show correct entry for function expression and class expression
2015-07-10 13:02:47 -07:00
Dan Quirk 505a854e4e Merge pull request #3815 from Microsoft/fix3805
Make update-sublime depend on local task
2015-07-10 12:09:26 -07:00
Arthur Ozga dc854158ab Made check more readable 2015-07-10 11:48:09 -07:00
Arthur Ozga 84326e6ef6 Updated Baselines 2015-07-10 11:47:56 -07:00
Arthur Ozga 4627f9c69b Updated Error Message 2015-07-10 11:42:22 -07:00
Jason Freeman dcbb2e5f0f Add a comment for isInferentialContext 2015-07-10 11:37:34 -07:00
Dan Quirk 5cfba6b4f2 Make update-sublime depend on local task 2015-07-10 11:09:22 -07:00
Yui T f16f9d129a Merge branch 'master' of https://github.com/Microsoft/TypeScript into completionListWithLocalName 2015-07-10 11:04:21 -07:00
Yui T d0d1ee918f Add test for using unicode escape as function name 2015-07-10 10:15:40 -07:00
Daniel Rosenwasser f72b001b23 Merge pull request #3807 from Microsoft/importSpecifierFilteringForCurrentName
Don't filter out current import specifier names/JSX attributes from completion lists
2015-07-10 10:01:35 -07:00
Ryan Cavanaugh 3c76c3e474 Baselines for weak types 2015-07-09 21:46:59 -07:00
Ryan Cavanaugh bdcc4eb988 Implementation for weak types 2015-07-09 21:44:56 -07:00
Daniel Rosenwasser 1daf49c067 Don't filter out JSX attributes. 2015-07-09 20:02:51 -07:00
Daniel Rosenwasser fdc504a19f Added failing test. 2015-07-09 19:57:56 -07:00
Daniel Rosenwasser fc45219058 Spacing. 2015-07-09 19:53:10 -07:00
Daniel Rosenwasser 1b0b434422 Don't filter out the current item. 2015-07-09 19:52:54 -07:00