Commit graph

6852 commits

Author SHA1 Message Date
Jason Freeman 652995181e Add tests for inferential typing 2015-07-02 15:21:43 -07:00
Jason Freeman 98de6117f1 Accept baselines 2015-07-02 15:21:09 -07:00
Jason Freeman 1085e39b9a Always take the apparent type when you retrieve a contextual type 2015-07-02 15:20:57 -07:00
Arthur Ozga 738415d65c Changed tabs to spaces and reformatted file 2015-07-02 15:17:26 -07:00
Ron Buckton e4ebf1fe4c Change default node pos/end to -1 2015-07-02 12:57:34 -07:00
Daniel Rosenwasser cd64f2b537 Merge pull request #3717 from Microsoft/builderInIndexSignature
Show builder at beginning of index signatures & computed properties
2015-07-02 12:30:41 -07:00
Daniel Rosenwasser 7abe8a1550 Add builder in computed properties and index signatures. 2015-07-02 12:22:07 -07:00
Daniel Rosenwasser e8a1f16e62 Added tests for index signature completion builders. 2015-07-02 12:20:20 -07:00
Arthur Ozga f37a7f5752 Merge pull request #3712 from Microsoft/abstractExtraError
Abstract extra error
2015-07-02 10:59:06 -07:00
Arthur Ozga 6775d88da3 Merge pull request #3333 from aozgaa/mergedDeclarationClassInterface
Merged Declarations for Classes and Interfaces
2015-07-02 10:41:43 -07:00
Arthur Ozga 3af3177fe3 update baselines 2015-07-02 10:26:36 -07:00
Arthur Ozga c06e5eb8b4 Update test 2015-07-02 10:26:23 -07:00
Arthur Ozga 4878cce73f merged with master 2015-07-02 10:10:17 -07:00
Arthur Ozga 233153149a updated baselines 2015-07-02 09:37:39 -07:00
Arthur Ozga 61a9a64619 Added conformance test 2015-07-02 09:37:27 -07:00
Arthur Ozga 06472035a4 Prevent extra checks once abstract new-call detected 2015-07-02 09:37:14 -07:00
Ryan Cavanaugh 77d93625cb Merge pull request #3699 from RyanCavanaugh/fixJsxAttribCompletion
Fix attribute completion following JSX exprs
2015-07-01 23:52:40 -07:00
Zhengbo Li ef67f029b4 Merge pull request #3701 from zhengbli/issue3216
Combine certain function overload types in lib.d.ts into union types
2015-07-01 22:19:13 -07:00
Zhengbo Li 9bfdc289d9 Fix issue #3216 2015-07-01 16:22:34 -07:00
Arthur Ozga 0e73a7822b Merge pull request #3579 from Microsoft/abstract-classes2
Abstract Classes and methods
2015-07-01 16:16:18 -07:00
Arthur Ozga 6d0c7c9f6a removed a comment 2015-07-01 16:14:46 -07:00
Ryan Cavanaugh ef765e56df Filter out would-be-duplicate names from JSX attribute completion 2015-07-01 16:04:29 -07:00
Ryan Cavanaugh 60db55bfd7 Merge pull request #3677 from RyanCavanaugh/updateSublimeTask
Add Jake task to update the Sublime plugin
2015-07-01 15:42:04 -07:00
Arthur Ozga f3b1321f56 Appeasing Jason lite 2015-07-01 15:39:06 -07:00
Arthur Ozga 07142a4ec2 Revert "Appeasing Jason"
This reverts commit a0bd465a7d.
2015-07-01 15:37:42 -07:00
Arthur Ozga a0bd465a7d Appeasing Jason 2015-07-01 15:31:14 -07:00
Ryan Cavanaugh f465d99492 Fix attribute completion following JSX exprs 2015-07-01 15:00:06 -07:00
Arthur Ozga 27ebd5c749 removed a prototype 2015-07-01 14:47:56 -07:00
Arthur Ozga 139d0f46bc updated baselines 2015-07-01 14:46:30 -07:00
Arthur Ozga c93bde693b added tests 2015-07-01 14:46:18 -07:00
Arthur Ozga 1efff2857f fixed union-type determination, moved abstract implementation test, and reformatted a line 2015-07-01 14:45:53 -07:00
Arthur Ozga 1608845f33 merged with master 2015-07-01 13:51:27 -07:00
Arthur Ozga 4dd369fe12 moved initialization and changed a comment 2015-07-01 13:37:41 -07:00
Daniel Rosenwasser 422a405c01 Documentative and conservative checking. 2015-07-01 13:35:51 -07:00
Daniel Rosenwasser 4a2e67205f Don't show a builder in object binding pattern completions. 2015-07-01 13:27:50 -07:00
Daniel Rosenwasser 4082a540e2 Added checks for new identifier location in tests. 2015-07-01 13:25:51 -07:00
Daniel Rosenwasser 379ca11a8b Merge pull request #3697 from Microsoft/testObjectBindingCompletionWithUnionTypes
Add test case for completion when destructuring from a union type.
2015-07-01 13:10:50 -07:00
Daniel Rosenwasser f7ba7188f3 Add test case for completion when destructuring from a union type. 2015-07-01 13:02:59 -07:00
Arthur Ozga a1877ef336 fexed comment and initialization 2015-07-01 10:46:10 -07:00
Ron Buckton b2a871dcfb Merge pull request #3078 from Microsoft/asyncFunctions
Async Functions for ES6
2015-07-01 09:50:12 -07:00
Ron Buckton 4b4a96b9dc Merge branch 'master' into asyncFunctions 2015-07-01 09:27:45 -07:00
Anders Hejlsberg 30d15a8d7c Addressing CR feedback 2015-06-30 19:46:59 -07:00
Arthur Ozga feb7e1d10e Fixed generic abstract class inheritance and some comments 2015-06-30 16:13:09 -07:00
Arthur Ozga 994b73f9cb fixed an erroneous assertion 2015-06-30 15:19:51 -07:00
Arthur Ozga 5864a66fbc updated baselines on classAbstract tests 2015-06-30 14:44:13 -07:00
Ryan Cavanaugh 5208bded90 Merge pull request #3675 from RyanCavanaugh/fix3674
Correctly flag JSX elements as being used for the purposes of module imports
2015-06-30 14:38:06 -07:00
Arthur Ozga 18d6e73aa0 Revert isRelatedFlags changes 2015-06-30 14:33:13 -07:00
Anders Hejlsberg fb1bf420b4 Adding test for inference with intersection type as target 2015-06-30 12:41:03 -07:00
Anders Hejlsberg 6ae775b4ff Support intersection types as target in type inference 2015-06-30 12:23:21 -07:00
Anders Hejlsberg c517a6341e Accepting new baselines 2015-06-30 12:02:23 -07:00