Commit Graph

27903 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
0436cfca16 Do not report multiple diagnostics per signature.
If there are multiple diagnostics per signature, choose the signature
with the fewer diagnostics to report. If there are more than one with
the minimum, choose the latest in the overload set.
2019-06-26 12:56:14 -07:00
Nathan Shively-Sanders
c0ff286b34 Merge branch 'master' into report-multiple-overload-errors 2019-06-26 10:06:29 -07:00
Nathan Shively-Sanders
68968fd396 Improve error messages and related spans 2019-06-26 10:05:44 -07:00
Nathan Shively-Sanders
463da558a1 Merge pull request #32105 from typescript-bot/user-update-Microsoft-20190503
🤖 User test baselines have changed
2019-06-26 08:07:35 -07:00
typescript-bot
28e1d78240 Update user baselines 2019-06-26 13:49:59 +00:00
Wesley Wigham
34eb5ddf75 Fix tuple and array comparisons during identity checking (#32089) 2019-06-25 20:56:41 -07:00
Nathan Shively-Sanders
261952247a Merge pull request #31945 from microsoft/skip-costly-tests
Skip costly tests
2019-06-25 15:47:49 -07:00
Nathan Shively-Sanders
b58932e638 Fix lint and remove done TODOs 2019-06-25 14:54:43 -07:00
Nathan Shively-Sanders
67b8ca77d9 Merge branch 'master' into report-multiple-overload-errors 2019-06-25 14:07:56 -07:00
Nathan Shively-Sanders
66244f7937 Don't double-check JSX calls
The JSX code path stands on its own
2019-06-25 13:57:30 -07:00
Nathan Shively-Sanders
f20f700025 Update baselines, except JSX
JSX is still broken
2019-06-25 13:16:34 -07:00
Orta
105f763864 Merge pull request #32072 from orta/formatting_docs
Adds some docs for how a formatter works
2019-06-25 10:20:00 -07:00
Orta Therox
444c3059f6 Handle feeedback 2019-06-25 09:41:26 -07:00
Orta
0a272e04ef Update src/services/formatting/README.md
Co-Authored-By: Andrew Branch <andrewbranch@users.noreply.github.com>
2019-06-24 17:08:34 -07:00
Orta
3f9395be39 Update src/services/formatting/README.md
Co-Authored-By: Andrew Branch <andrewbranch@users.noreply.github.com>
2019-06-24 17:08:28 -07:00
Orta Therox
ba4aad79dc Adds some docs for how a formatter works 2019-06-24 15:42:56 -07:00
Nathan Shively-Sanders
ecfa902ba1 Use existing reporting mechanism 2019-06-24 15:32:58 -07:00
Wesley Wigham
a150d55592 Explicitly error when an exclude is provided by a test as it will be unused (#32014) 2019-06-24 15:29:02 -07:00
Nathan Shively-Sanders
9bae1ed099 Merge pull request #32059 from typescript-bot/user-update-Microsoft-20190501
🤖 User test baselines have changed
2019-06-24 10:10:27 -07:00
Andrew Branch
6717d8d928 Merge pull request #31942 from andrewbranch/bug/30882
Improve error message on indexed access to private members of type parameters
2019-06-24 09:22:21 -07:00
typescript-bot
1c2bdc8abe Update user baselines 2019-06-24 13:49:52 +00:00
Anders Hejlsberg
917cd6c6d9 Merge pull request #32035 from microsoft/fixTupleDestructuringControlFlow
Fix tuple destructuring control flow analysis
2019-06-22 09:29:53 -07:00
Anders Hejlsberg
3ca2e7dbb8 Accept new baselines 2019-06-21 18:07:22 -10:00
Anders Hejlsberg
9223f39f53 Add regression test 2019-06-21 18:07:15 -10:00
Anders Hejlsberg
7cdc65b2a5 Out of bounds tuple elements have type 'undefined' 2019-06-21 18:00:26 -10:00
Daniel Rosenwasser
2c458c0d1c Merge pull request #31414 from dhruvrajvanshi/master
Report error on method name for chained method calls
2019-06-21 17:51:04 -07:00
Wesley Wigham
9d23ce3d06 Sanitize rush progress numbers in docker test output (#32029) 2019-06-21 14:49:43 -07:00
Wesley Wigham
5498f583f9 Update cherry-pick pr script to use mergebase (#32031) 2019-06-21 14:34:26 -07:00
Wesley Wigham
1cbace6eee Remove secondary reference lookup implementation (#32016)
* Remove secondary reference lookup implementation

* Remove TODO
2019-06-21 13:26:29 -07:00
Nathan Shively-Sanders
720ad5bf22 Improve error message and update baselines 2019-06-21 13:15:32 -07:00
Sheetal Nandi
179e0a606a Merge pull request #32027 from microsoft/containerReference
Container only ref needs to be ignored from uptodate status
2019-06-21 11:28:45 -07:00
Wesley Wigham
fe2b9e9e17 Assert ranges exist when looped over in fourslash (#32012) 2019-06-21 10:38:31 -07:00
Nathan Shively-Sanders
903527e757 Merge pull request #32026 from typescript-bot/user-update-Microsoft-20190505
🤖 User test baselines have changed
2019-06-21 07:31:19 -07:00
typescript-bot
1c58c1686e Update user baselines 2019-06-21 13:47:03 +00:00
Wesley Wigham
37b20f6afd Eliminate references to defunct LSHost in comments (#32018) 2019-06-20 19:11:46 -07:00
Wesley Wigham
a97c18f227 Ignore identifier declarations when calculating symbol visibility (#31974) 2019-06-20 17:20:12 -07:00
Nathan Shively-Sanders
b85796cba0 Retain related info for 1-overloads 2019-06-20 16:13:08 -07:00
Sheetal Nandi
0e5d95feef Container only ref needs to be ignored from uptodate status
Fixes #31288
2019-06-20 16:09:35 -07:00
Nathan Shively-Sanders
ef0a8759bd Share code a bit better 2019-06-20 15:40:29 -07:00
Wesley Wigham
f2735b5a06 Fake up a namespace enclosing declaration when generating expando namespace members (#31971)
* Fake up a namespace enclosing declaration when generating expando namespace members

* Fix #31676
2019-06-20 12:58:16 -07:00
Wesley Wigham
c39a877a92 Add dockerfile based tests for azure-sdk-for-js and office-ui-fabric-react (#31948)
* Add dockerfile based tests

* Update tests/cases/docker/README.md

Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>

* Combine sanitize functions

* Add some debugging instructions to README

* Fix listed command order
2019-06-20 12:47:57 -07:00
Sheetal Nandi
36df28d800 Merge pull request #31986 from microsoft/buildLocale
Support --locale with --build
2019-06-20 12:25:37 -07:00
Sheetal Nandi
796d5bb660 Merge pull request #31954 from suhasdeshpande/patch-1
fix tsserver picking hidden files created by emacs
2019-06-20 12:23:18 -07:00
Anders Hejlsberg
6def72b3a4 Merge pull request #31950 from microsoft/unionObjectAndArrayLiterals
Union inferences from object and array literals
2019-06-20 09:36:20 -07:00
Nathan Shively-Sanders
afecb87d3f Use related spans to form a tree of errors.
Formatting is wrong, and I might want to format it as non-related spans,
but the structure is exactly a tree.
2019-06-20 08:54:31 -07:00
Nathan Shively-Sanders
fc773a8e23 Merge pull request #32001 from typescript-bot/user-update-Microsoft-20190504
🤖 User test baselines have changed
2019-06-20 08:26:48 -07:00
typescript-bot
e9d3f54a01 Update user baselines 2019-06-20 13:27:21 +00:00
Sheetal Nandi
06d188a255 Support --locale with --build
Fixes #31960
2019-06-19 15:38:05 -07:00
Nathan Shively-Sanders
1f6ef0504b Re-add multiple errors
In the worst possible way. Now it's sort of ready for creating a
DiagnosticMessageTree.
2019-06-19 14:54:38 -07:00
Daniel Rosenwasser
56370e8247 Updated test-cost file for laptops. 2019-06-19 14:38:42 -07:00