Daniel Rosenwasser
677762da07
LKG for experimental pipeline, probably don't use in production or this will break.
2018-01-16 09:33:57 -08:00
Ron Buckton
b09da67390
Added tests for pipeline
2017-10-07 14:46:33 -07:00
Ron Buckton
ccd30cd915
Update switch name
2017-10-07 11:28:55 -07:00
Ron Buckton
dc703e540c
Initial support, tests to follow
2017-10-05 18:43:05 -07:00
Daniel Rosenwasser
924460406e
Merge pull request #18811 from Microsoft/uncalledDecorator
...
Give a more helpful error message for certain decorators with too many arguments
2017-10-05 11:27:46 -07:00
Sheetal Nandi
c02865f357
Merge pull request #18958 from Microsoft/compilePublicApi
...
Compile public api so that all the updates are ensured to be correct
2017-10-04 18:16:51 -07:00
Sheetal Nandi
ee05d0eb1c
Compile public api so that all the updates are ensured to be correct
2017-10-04 16:09:16 -07:00
Nathan Shively-Sanders
8b2a219dd4
Merge pull request #18955 from Microsoft/binding-element-with-parent-type-any-is-any
...
Binding element with parent type any is of type any
2017-10-04 16:03:44 -07:00
Nathan Shively-Sanders
2ae70a1c2b
Update baselines
2017-10-04 15:24:23 -07:00
Nathan Shively-Sanders
da41217f43
Binding element with parent type any is any
...
Previously if the binding element had an initializer, then that type
would be used. But this is incorrect:
```ts
function f(x: any) {
let { d = 1 } = x;
// d should have type any not number.
// f can be called with anything:
}
f({ d: 0 });
f({ d: 'hi' });
f({});
```
2017-10-04 15:15:29 -07:00
Wesley Wigham
648bd6e9e0
Skip more lib checks, improve test execution time a bit more ( #18952 )
...
* Skip more lib checks, improve test execution time a bit more
* Change complexRecursiveCollections to still check
* Remove way more
2017-10-04 14:43:35 -07:00
Benjamin Lichtman
43084829bc
Increase maximum depth of outlining span search ( #18704 )
...
* Increase max depth of outlining spans to 120
* Update tests
* Update tests to demonstrate limit
* Set limit to 40 and update tests
2017-10-04 13:48:08 -07:00
Andrew Casey
530e107d51
Merge pull request #18936 from amcasey/GH18899
...
Localize more Extract Function/Constant strings
2017-10-04 13:33:06 -07:00
Andy
efa274f722
When emitting all files, emit the changed file first ( #18930 )
...
* When emitting all files, emit the changed file first
* Export interface
2017-10-04 13:30:37 -07:00
Wesley Wigham
25c3b99f29
Add skip lib check to many tests ( #18935 )
...
* Add skip lib check to many tests, do not include unit test duration in profiler duration
* Add a few more skipLibCheck flags
* A few more
* Add more skip lib check flags
2017-10-04 13:14:05 -07:00
Andrew Casey
02f2a29ca2
Stop combining already-translated strings
2017-10-04 12:39:32 -07:00
Andy
de9c459d5e
Clean up code in getModifierOccurrences ( #18948 )
2017-10-04 12:20:58 -07:00
Andrew Casey
d03d237b3b
Merge pull request #18929 from amcasey/ExtractVoidNever
...
Stop extracting void and never constants
2017-10-04 10:33:05 -07:00
Andy
6617819bf3
In getModifierOccurrences, support additional container kinds ( #18947 )
2017-10-04 09:52:51 -07:00
Andy
fe9129b1ab
Support contextual type for property assignments in JS that are not declarations ( #18820 )
2017-10-04 09:32:09 -07:00
Andrew Casey
bcdfdd276f
Call getLocaleSpecificMessage
2017-10-03 18:10:58 -07:00
Andrew Casey
559689f66f
Localize more Extract Function/Constant strings
...
Fixes #18899
2017-10-03 17:18:12 -07:00
Sheetal Nandi
a3853d0774
Merge pull request #18934 from Microsoft/throttledCancellation
...
Wrap the cancellation token in throttled cancellation token from server
2017-10-03 17:10:38 -07:00
Wesley Wigham
37723f17d6
Latest mocha uses fullPath instead of titlePath ( #18933 )
2017-10-03 17:02:39 -07:00
Andy
d384a6adb6
Fix location of generateLocalizedDiagnosticMessages.js ( #18923 )
2017-10-03 16:38:47 -07:00
Sheetal Nandi
c2427f22d0
Wrap the cancellation token in throttled cancellation token from server
2017-10-03 16:34:46 -07:00
Andrew Casey
443812a045
Stop extracting void and never constants
2017-10-03 15:07:39 -07:00
Andrew Casey
1507547020
Merge pull request #18927 from amcasey/ExtractBaselineShowRange
...
Include range markers in Extract Constant/Function baselines
2017-10-03 14:29:14 -07:00
Andrew Casey
d1015bff06
Merge pull request #18926 from amcasey/ExtractConstantArrow
...
Disallow constant extraction into expression-bodied arrow functions
2017-10-03 14:29:01 -07:00
Andrew Casey
a10274a867
Include range markers in Extract Constant/Function baselines
2017-10-03 13:50:17 -07:00
Andy
46e135b098
Fix parsing of qualified name in @augments ( #18914 )
2017-10-03 13:47:01 -07:00
Andrew Casey
2cb965c268
Disallow constant extraction into expression-bodied arrow functions
...
...until https://github.com/Microsoft/TypeScript/issues/18924 is fixed.
2017-10-03 13:34:20 -07:00
Andy
d4cbdc4985
Fix gulp lint
( #18921 )
2017-10-03 13:28:20 -07:00
Andrew Casey
b9fb1733ef
Merge pull request #18919 from amcasey/ExtractLocalRefinements
...
Improve Extract Constant's handling of expression statements
2017-10-03 13:19:39 -07:00
Andrew Casey
7b1147fbce
Stop inadvertently exempting expression statements from check
2017-10-03 12:23:32 -07:00
Daniel Rosenwasser
301c90ccff
Merge pull request #18300 from Microsoft/correctlyCacheTaggedTemplates
...
Correctly cache tagged template objects in modules
2017-10-03 12:06:57 -07:00
Andrew Casey
2a4ab08655
Refine extraction of expression statements
...
1) Replace range, rather than node, to leave trivia intact.
2) Only replace node in the innermost scope - otherwise insert as usual
and delete the original statement.
2017-10-03 11:18:40 -07:00
Wesley Wigham
5c7a3d050d
Keep comments in production tsserverlibrary builds ( #18913 )
2017-10-03 11:18:22 -07:00
Andy
b111493276
Remove unnecessary *OrUndefined calls ( #18889 )
...
* Remove unnecessary *OrUndefined calls
* Add 'first'
2017-10-03 10:24:39 -07:00
Andrew Casey
b21d8a4742
Merge pull request #18900 from amcasey/ReduceDup
...
Refactor to reduce property duplication
2017-10-03 10:04:03 -07:00
Nathan Shively-Sanders
4d8663c378
Merge pull request #18117 from Microsoft/jsdoc-dotdotdot-binds-tighter-than-postfix
...
Jsdoc ... binds tighter than postfix ?!
2017-10-03 08:45:26 -07:00
Daniel Rosenwasser
8fd638c7a8
Accepted baselines.
2017-10-03 00:37:28 -07:00
Daniel Rosenwasser
babe3cb931
Flatten the '__makeTemplateObject' helper to use less vertical screen real estate.
2017-10-03 00:36:02 -07:00
Daniel Rosenwasser
7750a88957
Accepted baselines.
2017-10-02 23:28:16 -07:00
Mohamed Hegazy
ae3f29ade6
Accept baselines ( #18903 )
2017-10-02 19:08:13 -07:00
Daniel Rosenwasser
35cfcff0d4
Use 'getTextOfNode'.
2017-10-02 18:44:54 -07:00
Daniel Rosenwasser
392cd6117b
Added a test for an 'any'-type decorator.
2017-10-02 18:44:49 -07:00
Daniel Rosenwasser
96bb796730
Improve error message for uncalled decorators.
2017-10-02 17:59:34 -07:00
Sheetal Nandi
6997e9b731
Merge pull request #17269 from Microsoft/watchImprovements
...
Watch improvements in tsserver
2017-10-02 17:38:22 -07:00
Wesley Wigham
7f7d0c6c7b
Baseline public API ( #18897 )
...
* Add unit test which tracks public API changes
* Accept strict function types updates
* 100% Linefeeds, no carriage returns
* How were these missing?
* That would be why they were there
* Extract and comment
* Accept comment changes
2017-10-02 17:37:40 -07:00