Commit Graph
20445 Commits
Author SHA1 Message Date
Anders Hejlsberg 17153a6e5f Fix linting error 2019-06-30 08:54:48 -10:00
Anders Hejlsberg eb1b2251b8 Pad tuple type initializers of parameter array binding elements 2019-06-30 08:02:18 -10:00
Anders Hejlsberg 2e5249835d Remove logic that pads array literals contextually typed by tuple types 2019-06-28 16:54:42 -10:00
Wesley WighamandGitHub 2af8ac73ff Add xterm test to docker suite (#32149) 2019-06-27 15:29:22 -07:00
Sheetal NandiandGitHub b32afb55d1 Merge pull request #31985 from microsoft/buildInfoData
Make paths in tsbuildinfo file to be relative to the file
2019-06-27 12:49:52 -07:00
Andrew CaseyandGitHub f1c781fa13 Merge pull request #31988 from amcasey/SyntacticClassifications
Trivially expose getEncodedSyntacticClassifications
2019-06-27 10:16:57 -07:00
Nathan Shively-Sanders 8454ef114d JSDoc:Treat tokens between backticks as comments
even `@`, which would otherwise start a new tag.
2019-06-26 16:04:46 -07:00
Andrew Casey 2d785c8c91 Make args types internal 2019-06-26 15:09:30 -07:00
Klaus MeinhardtandRyan Cavanaugh 392d775095 allow const-assertion on aliased enum symbol (#32110)
Fixes: #32087
2019-06-26 14:42:06 -07:00
OrtaandGitHub a50a5d309c Merge pull request #32088 from orta/fix-32068
Handle making sure that two less thans are never converted into >>
2019-06-26 14:10:02 -07:00
Andrew BranchandGitHub 871bdeeec4 Merge pull request #31480 from andrewbranch/bug/25487
Fix invalid JSXExpressions having identifier-ish things in their trivia, improve error messages for comma expressions in JSX
2019-06-26 10:13:42 -07:00
Wesley WighamandGitHub 34eb5ddf75 Fix tuple and array comparisons during identity checking (#32089) 2019-06-25 20:56:41 -07:00
Nathan Shively-SandersandGitHub 261952247a Merge pull request #31945 from microsoft/skip-costly-tests
Skip costly tests
2019-06-25 15:47:49 -07:00
Orta Therox 897fb3a2a6 Handle making sure that two less thans are never converted into >> 2019-06-25 15:16:15 -07:00
Orta Therox 444c3059f6 Handle feeedback 2019-06-25 09:41:26 -07:00
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
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
Wesley WighamandGitHub 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
Andrew BranchandGitHub 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
Anders Hejlsberg 7cdc65b2a5 Out of bounds tuple elements have type 'undefined' 2019-06-21 18:00:26 -10:00
Daniel RosenwasserandGitHub 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 WighamandGitHub 9d23ce3d06 Sanitize rush progress numbers in docker test output (#32029) 2019-06-21 14:49:43 -07:00
Andrew Casey 2953574eba Use getEncodedSyntacticClassifications 2019-06-21 14:48:22 -07:00
Wesley WighamandGitHub 1cbace6eee Remove secondary reference lookup implementation (#32016)
* Remove secondary reference lookup implementation

* Remove TODO
2019-06-21 13:26:29 -07:00
Sheetal NandiandGitHub 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 WighamandGitHub fe2b9e9e17 Assert ranges exist when looped over in fourslash (#32012) 2019-06-21 10:38:31 -07:00
Wesley WighamandGitHub 37b20f6afd Eliminate references to defunct LSHost in comments (#32018) 2019-06-20 19:11:46 -07:00
Wesley WighamandGitHub a97c18f227 Ignore identifier declarations when calculating symbol visibility (#31974) 2019-06-20 17:20:12 -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
Wesley WighamandGitHub 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
Sheetal Nandi d36099c98d Use absolute paths for buildInfoDirectory 2019-06-20 12:55:02 -07:00
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 NandiandGitHub 36df28d800 Merge pull request #31986 from microsoft/buildLocale
Support --locale with --build
2019-06-20 12:25:37 -07:00
Sheetal NandiandGitHub 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 HejlsbergandGitHub 6def72b3a4 Merge pull request #31950 from microsoft/unionObjectAndArrayLiterals
Union inferences from object and array literals
2019-06-20 09:36:20 -07:00
Andrew Casey 6e50853143 Trivially expose getEncodedSyntacticClassifications 2019-06-19 15:48:23 -07:00
Sheetal Nandi 06d188a255 Support --locale with --build
Fixes #31960
2019-06-19 15:38:05 -07:00
Sheetal Nandi b9fc44ece7 Bundle info paths as relative to tsbuildinfo file 2019-06-19 14:49:13 -07:00
Sheetal Nandi 9446fc0c0c Convert options to relative paths 2019-06-19 12:54:22 -07:00
Sheetal Nandi d760cbb74b Make any paths in buildInfoFile to be relative to it. 2019-06-19 12:54:21 -07:00
Nathan Shively-Sanders fce7f9f87b Move .test-cost.json
Also include parameter name in test output so that people will know what
to do to change the percent chance of failure.
2019-06-19 08:40:06 -07:00
Suhas Deshpande f8004a33dd semi-colon 2019-06-18 23:17:58 -07:00
Suhas Deshpande 8a11f15569 Add unit test 2019-06-18 22:50:48 -07:00
SuhasandSuhas Deshpande 13b7af6ea0 fix tsserver picking hidden files created by emacs
Saw this good for first timers. I followed what @sheetalkamat suggested. 
#31916
2019-06-18 22:50:48 -07:00
Sheetal NandiandGitHub 7ed3896a0a Merge pull request #31587 from microsoft/definitionSpan
Include declarationSpan as relevant declaration span when defintion or other places are declaration name
2019-06-18 14:07:15 -07:00
Nathan Shively-SandersandGitHub 1e6a6e9989 Update DOM and baselines (#31806) 2019-06-18 08:41:40 -07:00
Josh GoldbergandNathan Shively-Sanders ca00b3248b Added --noImplicitThis code fix for functions used as object properties (#31138)
* Added --noImplicitThis code fix for functions used as object properties

Before trying out all the various possibilities for where these functions could be used, I figured I'd start out with a relatively simple use case to verify this is the right approach. Is it? 😄

Starts on #28964.

* Fixed function expression names; included new baselines

* Got JSDocs to work, hooray!

* Added test for 'any' case of no function uses

* Refactored for inferFunctionReferencesFromUsage

* Fixed inference bug: undefined references cause parameters to default

* Removed dead code comments
2019-06-17 19:00:15 -07:00
Andrew Branch 04fbd93bf8 Revert previous fix and improve error message instead 2019-06-17 15:21:21 -07:00
Ron BucktonandGitHub 179381301e Move class property transform (#31848)
* Revert "Revert "Move class property transformation into new transformer. (#30467)""

This reverts commit 53467ae4a4.

* Fix emit issues
2019-06-17 14:26:42 -07:00