Commit Graph

26317 Commits

Author SHA1 Message Date
Jason Freeman 1085e39b9a Always take the apparent type when you retrieve a contextual type 2015-07-02 15:20:57 -07:00
Arthur Ozga e2b858dbf8 Check abstractness via constructor return types 2015-07-02 14:53:03 -07:00
Ron Buckton e4ebf1fe4c Change default node pos/end to -1 2015-07-02 12:57:34 -07:00
Daniel Rosenwasser 7abe8a1550 Add builder in computed properties and index signatures. 2015-07-02 12:22:07 -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 4878cce73f merged with master 2015-07-02 10:10:17 -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
Zhengbo Li 9bfdc289d9 Fix issue #3216 2015-07-01 16:22:34 -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
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
Yui T 2e0c3908ea Address code review 2015-07-01 14:59:07 -07:00
Arthur Ozga 27ebd5c749 removed a prototype 2015-07-01 14:47:56 -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
Yui T 30796073b4 Update verification function to be able to test that the only symbol with certain kind, document, and text is the completion list 2015-07-01 14:42:27 -07:00
Yui T 7747ad4aa5 Clean up stripQuote and add comments 2015-07-01 14:25:43 -07:00
Yui T 605ab0b1fc Fix rename for class expression 2015-07-01 13:55:02 -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
Yui T 514d054cac Address CR: Use getDeclaredName and getDeclarationOfKind 2015-07-01 13:17:46 -07:00
Yui T 744f640f42 Add comment to clarify why we don't use copySymbol 2015-07-01 13:16:29 -07:00
Arthur Ozga a1877ef336 fexed comment and initialization 2015-07-01 10:46:10 -07:00
Daniel Rosenwasser cc6b04c7a6 Bring back 'reportDiagnostics'. 2015-07-01 12:49:46 -04:00
Daniel Rosenwasser d8e462d6e7 Make output reliant on whether stdout redirects to a terminal; use forEach. 2015-07-01 12:40:01 -04:00
Ron Buckton 4b4a96b9dc Merge branch 'master' into asyncFunctions 2015-07-01 09:27:45 -07:00
Daniel Rosenwasser fdbea8b682 Give the new reporter a more reasonable name. 2015-07-01 12:23:10 -04:00
Daniel Rosenwasser 17f443ac3b Just squiggle the entire line for middle lines (sans trailing space). 2015-07-01 03:49:58 -04:00
Daniel Rosenwasser f660bd3652 Got "prettier" error printing working. 2015-06-30 23:27:05 -07:00
Daniel Rosenwasser ba7fadeb12 Add support to tell whether output directs to a terminal emulator. 2015-06-30 23:26:23 -07:00
Ron Buckton 739f5f25cf Adds additional logic to determine how to emit a type reference for decorator metadata 2015-06-30 20:19:25 -07:00
Anders Hejlsberg 30d15a8d7c Addressing CR feedback 2015-06-30 19:46:59 -07:00
Ron Buckton 9eab88570f Moves type serialization to the emitter. 2015-06-30 19:02:35 -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
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 6ae775b4ff Support intersection types as target in type inference 2015-06-30 12:23:21 -07:00
Anders Hejlsberg a13b64246a Merge branch 'master' into intersectionTypes
Conflicts:
	tests/baselines/reference/APISample_linter.js
2015-06-30 11:57:49 -07:00
Dirk Baeumer ddb60fc8ce Node System host write - need to loop since writeSync might not write all bytes 2015-06-30 10:49:15 +02:00
Mohamed Hegazy fe4612273c Merge pull request #3641 from Microsoft/exportSepcifierInDeclarations
Fix assert with declaration emit for export specifier for a global
2015-06-29 17:28:55 -07:00
Arthur Ozga 12383af225 Responding to Jason 2015-06-29 17:20:10 -07:00
Yui T 389e446742 Merge branch 'master' into completionListWithLocalName 2015-06-29 16:07:01 -07:00