Commit graph

6954 commits

Author SHA1 Message Date
Daniel Rosenwasser 40a6300e02 Added original test case. 2015-07-06 15:15:04 -07:00
Daniel Rosenwasser 4906f41f94 Remove builder from import clauses. 2015-07-06 15:12:16 -07:00
Daniel Rosenwasser 52581678d4 Refactor completion code for object literals/bindings and import clauses. 2015-07-06 15:05:47 -07:00
Daniel Rosenwasser 03444a4d34 Verify builders. 2015-07-06 15:02:18 -07:00
Daniel Rosenwasser 276e7989aa Use a more accurate test name. 2015-07-06 14:47:39 -07:00
CyrusNajmabadi e009d68d6b Merge pull request #3556 from Microsoft/cancellableClassification
Make classification cancellable.
2015-07-06 14:33:45 -07:00
Cyrus Najmabadi 370372e043 Remove shim cancellation test. 2015-07-06 14:25:18 -07:00
Yui T b01e4d82c3 Address code review 2015-07-06 14:18:47 -07:00
Cyrus Najmabadi af94f1c5d0 Throttle how often we call into the host side to check for cancellation. 2015-07-06 14:04:42 -07:00
Yui T 7c52aaa4b8 Merge branch 'master' into completionListWithLocalName
Conflicts:
	src/compiler/checker.ts
2015-07-06 13:35:01 -07:00
Daniel Rosenwasser cacc366809 Avoid unnecessary contextToken checking, addressed CR feedback. 2015-07-06 13:27:00 -07:00
Cyrus Najmabadi bcd8cce03d Merge branch 'master' into cancellableClassification 2015-07-06 13:22:40 -07:00
Daniel Rosenwasser be73f73beb previousToken -> contextToken 2015-07-06 13:00:10 -07:00
Anders Hejlsberg 71c6433514 Merge pull request #3622 from Microsoft/intersectionTypes
Intersection types
2015-07-06 12:58:28 -07:00
Daniel Rosenwasser a7983a4f3e Added test for JSX spread properties. 2015-07-06 12:40:09 -07:00
Ryan Cavanaugh 48c48417a6 Properly parse keyword-like identifiers in JSX 2015-07-06 11:42:06 -07:00
Daniel Rosenwasser 3fe0d3defe Updated test. 2015-07-06 11:30:43 -07:00
Yui T 6da98ce897 Fix comments 2015-07-06 10:51:43 -07:00
Jason Freeman f126767eb3 Merge pull request #3724 from Microsoft/apparentTypeOfContextualType
Always get the apparent type when retrieving a contextual type
2015-07-06 10:18:21 -07:00
Arthur Ozga 19c332d572 Merge pull request #3723 from Microsoft/fixErrorCheckIndentation
Changed tabs to spaces and reformatted errorCheck.ts
2015-07-06 09:35:50 -07:00
SaschaNaz b402b63f3a Fixing first example 2015-07-05 01:22:13 +09:00
Anders Hejlsberg fc1888ec8a Merge branch 'master' into intersectionTypes
Conflicts:
	tests/baselines/reference/APISample_linter.js
2015-07-03 11:26:38 -07:00
Anders Hejlsberg 144a635bc5 Changing comment per CR feedback 2015-07-03 11:20:44 -07:00
Ron Buckton b294443c35 Merge pull request #3719 from Microsoft/createNodePos
Change default node pos/end to -1
2015-07-02 18:47:15 -07:00
Daniel Rosenwasser d89c1d6586 Fixed/added test. 2015-07-02 17:08:03 -07:00
Jason Freeman ba87e14bea Merge pull request #3726 from Microsoft/restParamModifier
Disallow modifiers on rest parameters
2015-07-02 16:28:38 -07:00
Daniel Rosenwasser 935071f1c5 Don't show completion with dots not part of property accesses and qualified names. 2015-07-02 16:21:09 -07:00
Daniel Rosenwasser 4a53096171 Added test. 2015-07-02 16:14:06 -07:00
Jason Freeman 35db9f68f4 Add tests 2015-07-02 16:13:47 -07:00
Jason Freeman 0fcc63e33e Disallow modifiers on rest parameters 2015-07-02 16:13:38 -07:00
Daniel Rosenwasser a61ec94501 Remove unnecessary check. 2015-07-02 16:04:34 -07:00
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
Yui T 06c9876368 Address code review 2015-07-01 18:45:58 -07:00