Commit Graph
7169 Commits
Author SHA1 Message Date
SaschaNaz 54c00b0abe Merge remote-tracking branch 'refs/remotes/Microsoft/master' into formatWhitespaces 2015-12-10 22:50:35 +09:00
SaschaNaz f5587151ba applying three feedbacks 2015-12-10 22:07:01 +09:00
Wesley Wigham 58400ed771 Merge pull request #5906 from weswigham/this-type-guards
This type predicates for type guards
2015-12-09 17:22:39 -08:00
Daniel Rosenwasser 6e06752c05 Merge pull request #5972 from reavowed/master
Limit error reporting for methods to the method name
2015-12-09 17:14:42 -08:00
Wesley Wigham 2885eb2047 Merge branch 'master' into this-type-guards 2015-12-09 16:34:42 -08:00
Zhengbo Li e67574446a Fix too many watcher instances issue 2015-12-09 16:21:04 -08:00
Wesley Wigham bc01b16057 reorder if 2015-12-09 16:06:21 -08:00
Wesley Wigham 82386564d4 destructuring applied 2015-12-09 15:58:57 -08:00
Wesley Wigham 028484664d most pr feedback 2015-12-09 15:53:39 -08:00
Daniel Rosenwasser ecfeb21965 Merge pull request #6004 from Microsoft/IICEs
Fix code for immediately 'new'-ed/invoked class expressions
2015-12-09 14:15:38 -08:00
Sheetal Nandi 9fd525bc7c Simplify the array binding pattern element to determine what to highlight 2015-12-09 13:02:09 -08:00
Sheetal Nandi 35ec9caf65 Make sourcemap of "For" that initializes vars using object literal binding pattern better 2015-12-09 12:39:48 -08:00
Sheetal Nandi b1d395c4cf Make the destructuring array literal assignment better with sourcemap 2015-12-09 12:39:31 -08:00
Sheetal Nandi edd55ddf51 Make the source map of "for of" destructuring - object binding pattern better 2015-12-09 12:39:09 -08:00
Sheetal Nandi de7626356c Better the destructuring of nested array binding pattern 2015-12-09 12:38:52 -08:00
Sheetal Nandi 7c618a494d Better the sourcemap for array binding pattern 2015-12-09 12:38:43 -08:00
Sheetal Nandi 8af2160922 Make nested object literal destructuring pattern better 2015-12-09 12:38:26 -08:00
Sheetal Nandi 4ebf5695a7 Better sourcemaps for destructuring 2015-12-09 12:38:17 -08:00
Ryan Cavanaugh fcfc424b49 One more 2015-12-09 11:18:40 -08:00
Ryan Cavanaugh 50892acfd8 Address CR feedback 2015-12-09 11:16:57 -08:00
SaschaNaz 9e3ee5d716 remove whitespace 2015-12-09 23:42:49 +09:00
SaschaNaz 593503f6d5 move blocker to nodeWillIndentChild 2015-12-09 23:34:13 +09:00
SaschaNaz e387f69fac merge conflicts 2015-12-09 23:28:51 +09:00
Yui T 48894e5023 Don't include completion in opening tag, include name of opening in closing tag 2015-12-08 18:54:29 -08:00
Daniel Rosenwasser 99ea3ca9b5 Moved a paren. 2015-12-08 17:49:11 -08:00
Wesley Wigham b0bfa0f0dc Merge branch 'master' into this-type-guards 2015-12-08 17:48:33 -08:00
Wesley Wigham 0228ec3ced preserve some old behavior at @DanielRosenwassers request 2015-12-08 17:45:11 -08:00
Ryan Cavanaugh 383cbf06c4 Merge pull request #5996 from RyanCavanaugh/fix5994
Disallow modifiers in object literal property assignment
2015-12-08 17:40:50 -08:00
Ryan Cavanaugh d3c9815526 Improve comment 2015-12-08 17:37:38 -08:00
Wesley Wigham 459430165d grand unified theory of predicate types 2015-12-08 17:08:57 -08:00
Daniel Rosenwasser dc2af2fb7f Use different relation for overload compatibility. 2015-12-08 17:08:23 -08:00
Ryan Cavanaugh 58427c4d18 Use logic for win 2015-12-08 16:59:52 -08:00
Mohamed Hegazy 88a834574b Merge pull request #4757 from SaschaNaz/indentSuppressor
Expose indentation suppressor from SmartIndenter
2015-12-08 16:36:28 -08:00
Wesley Wigham b6eb4ae10f fix generic instantiation, nested this guards now work 2015-12-08 15:00:47 -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
Nathan Shively-Sanders f9846ff2bc Address comments 2015-12-08 14:11:46 -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
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 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 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
Zhengbo Li da009c5b21 update lib.d.ts from TSJS repo 2015-12-07 22:28:02 -08:00