Commit Graph

35940 Commits

Author SHA1 Message Date
Daniel Rosenwasser 5d94e48e42 Accepted baselines. 2015-12-08 15:19:58 -08:00
Daniel Rosenwasser 820a2cb257 Added some tests for overload compatibility. 2015-12-08 15:12:40 -08:00
Wesley Wigham b6eb4ae10f fix generic instantiation, nested this guards now work 2015-12-08 15:00:47 -08:00
Daniel Rosenwasser 2c2b8be238 Remove empty test. 2015-12-08 14:53:05 -08:00
Ryan Cavanaugh 992bd7a2e4 Merge pull request #5993 from RyanCavanaugh/fix5991
Parse JSX attributes as AssignmentExpressions
2015-12-08 14:40:55 -08:00
Mohamed Hegazy 9d5af80539 Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-12-08 14:36:17 -08:00
Daniel Rosenwasser 5ef8a30642 Accepted baselines. 2015-12-08 14:34:20 -08:00
Daniel Rosenwasser 2cc6c4cc28 Fixed test to explicitly have return type annotation. 2015-12-08 14:28:35 -08:00
Nathan Shively-Sanders f9846ff2bc Address comments 2015-12-08 14:11:46 -08:00
Mohamed Hegazy 378e5c3941 Add full path to spec md file in generate-spec target 2015-12-08 13:55:59 -08:00
Vladimir Matveev ef1a82fb49 Merge pull request #5108 from Microsoft/elideExportStarForNonValues
do not emit exportsStar function if module does not expose any values
2015-12-08 13:52:09 -08:00
Vladimir Matveev f3e4befc3e merge with master 2015-12-08 13:28:55 -08:00
Vladimir Matveev 268e7c0d09 Merge remote-tracking branch 'origin/master' into elideExportStarForNonValues 2015-12-08 13:15:56 -08:00
Nathan Shively-Sanders a4e21d7858 Address comments 2015-12-08 12:52:19 -08:00
Zhengbo Li 998372709b Merge pull request #5982 from zhengbli/updateLib
Weekly update of lib.d.ts ported from TSJS repo
2015-12-08 11:37:25 -08:00
Ryan Cavanaugh 964fbea9c1 Fix up for 'async' 2015-12-08 10:57:33 -08:00
Ron Buckton bf9af46e5a Changed name of 'reduce' method added to FileSet 2015-12-08 10:57:04 -08:00
Ron Buckton c3c3bca6fa Fixed typos in comments 2015-12-08 10:54:23 -08:00
Mohamed Hegazy fbb908694a Merge pull request #5988 from SaschaNaz/formatArrows
Format spaces before arrows
2015-12-08 10:20:19 -08:00
Ryan Cavanaugh 92d7d1c953 Disallow modifiers in object literal property assignment
Fixes bug #5994
2015-12-08 10:11:29 -08:00
Ryan Cavanaugh 51c547428b Parse JSX attributes as AssignmentExpressions
We should issue an error when parsing `<div x={1, 2} />` as the comma operator is not a legal production in a JSX Expression

Fixes (mitigates?) bug #5991
2015-12-08 09:53:47 -08:00
Nathan Shively-Sanders 3306ee8a91 Accept baselines 2015-12-08 09:39:25 -08:00
Nathan Shively-Sanders 47d267cdde Move type predicate checking to checkTypePredicate
Also remove now-unused "Type predicate is only allowed as a return type"
diagnostic.
2015-12-08 09:36:46 -08:00
Nathan Shively-Sanders 1b63040d36 Add tests and accept baselines 2015-12-08 09:13:41 -08:00
Nathan Shively-Sanders fd311d4e27 Fix lint 2015-12-08 09:11:37 -08:00
Nathan Shively-Sanders af7df83825 Parse type predicates only in return types. 2015-12-08 08:57:10 -08:00
SaschaNaz 595f134e8b space around arrow 2015-12-09 00:02:10 +09:00
SaschaNaz 34b303a9c5 directly expose nodeWillIndentChild 2015-12-08 21:39:46 +09:00
Iain Monro 46f1a2cc5d Revert change to abstract-method-with-body error location 2015-12-08 12:25:45 +00:00
erictsangx 557433e5b4 baseline accept 2015-12-08 18:16:00 +08:00
erictsangx 67573be641 improvements based on comments 2015-12-08 17:48:58 +08:00
erictsangx bc2b105037 add tests for the issue 2015-12-08 17:47:51 +08:00
erictsangx f6454326dd Fix issue: Confusing error message when calling value whose type is a union of types with call signatures
add diagnostic message 2658: Cannot invoke an expression whose type lacks a call signature. Type '{0}' has no compatible call signatures.

Closes #5640
2015-12-08 17:47:40 +08:00
SaschaNaz c8958dece0 Merge remote-tracking branch 'refs/remotes/Microsoft/master' 2015-12-08 16:17:54 +09:00
Zhengbo Li da009c5b21 update lib.d.ts from TSJS repo 2015-12-07 22:28:02 -08:00
Mohamed Hegazy 64681394d8 Merge pull request #5981 from plantain-00/issue4448-2
Improve 'Cannot compile modules unless the '--module' flag is provided.' message
2015-12-07 20:03:14 -08:00
Wesley Wigham be6e341d2a Fix narrowing, interfaces. Expose issue with generic instantiation 2015-12-07 18:16:05 -08:00
yaoyao e95ae4f100 Improve 'Cannot compile modules unless the '--module' flag is provided.' message 2015-12-08 08:56:41 +08:00
Ron Buckton def3ba1085 Added stubs to ChakraHost interface for readDirectoryNames/readFileNames 2015-12-07 15:32:32 -08:00
York Yao bf8812ee57 Merge pull request #1 from Microsoft/master
update
2015-12-08 07:21:48 +08:00
Ron Buckton 5de2fcc100 Merge branch 'master' into glob2 2015-12-07 15:15:22 -08:00
Daniel Rosenwasser b4f4dadeb6 Merge pull request #5979 from DanCorder/5058
Fix for #5058 - Exclude implemented interface functions from autocompletion suggestions.
2015-12-07 15:06:53 -08:00
Ron Buckton 30575dbd7c Added caching, more tests 2015-12-07 14:58:13 -08:00
Dan Corder c6feaa016a Remove unnecessary I2 from test case 2015-12-07 22:43:44 +00:00
Ryan Cavanaugh 7c1ef22cff Merge pull request #5974 from RyanCavanaugh/fix5955
Identify JSX closing tags as identifiers so they emit correctly
2015-12-07 12:40:39 -08:00
Ryan Cavanaugh 05c17032a9 Actually include the fix.... 2015-12-07 11:57:54 -08:00
Ryan Cavanaugh c97dffff3b Support 'this' in inferred method bodies 2015-12-07 11:55:30 -08:00
Dan Corder ff4147af01 Fix for #5058 - Exclude implemented interface functions from autocompletion suggestions. 2015-12-07 19:47:56 +00:00
Vladimir Matveev 2dbf621e97 merge with origin/master, add trace message with type of 'typings' field is not 'string' 2015-12-07 11:40:35 -08:00
Ryan Cavanaugh 04f8c32d32 Identify JSX closing tags as identifiers so they emit correctly
Fixes bug #5955
2015-12-07 11:07:37 -08:00