Commit Graph

27926 Commits

Author SHA1 Message Date
Austin Cummings
c30054de63 Fix esModuleInterop affectsEmit change test 2019-06-30 11:06:00 -07:00
Austin Cummings
5b694f8302 Add tests for module and esModuleInterop affectsEmit change 2019-06-28 18:34:59 -07:00
Austin Cummings
4195f1a409 Add affectsEmit to module and esModuleInterop options 2019-06-28 17:51:05 -07:00
Daniel Rosenwasser
410b71751e Merge pull request #32034 from dragomirtitian/GH-32013-improve-error-messages-for-calling-types
Improved error message for calling/constructing types
2019-06-28 16:08:18 -07:00
Titian Cernicova-Dragomir
e4bca9649a Improved error spans for call errors:
1. When calling a non-callable expression the error span is on the call target not on the whole call
2. When calling a method, the error for overload resolution now includes the arguments (this was previously regressed by #31414)
2019-06-28 23:53:47 +03:00
Wesley Wigham
cfe4cbd7b7 Merge branch 'master' of github.com:Microsoft/TypeScript 2019-06-28 13:35:01 -07:00
Wesley Wigham
c25088c6bf make prnums for experiments get pulled from GH tags 2019-06-28 13:34:46 -07:00
Titian Cernicova-Dragomir
bc07eec015 Added tests for new error messages on calls to unions. 2019-06-28 23:23:17 +03:00
Titian Cernicova-Dragomir
768318b30c Improved error message for calling/constructing types 2019-06-28 23:23:16 +03:00
Wesley Wigham
b4a1a5996f Rework declaration emit visibility calculation for namespaces (#32156)
* Rework declaration visibility for namespaces

* Accept skipped baselines
2019-06-28 13:23:15 -07:00
Wesley Wigham
6760a03cec Add vscode docker test (#32152)
* Add vscode docker test

* Remove PID-log line

* Update user baselines (#18)
2019-06-28 13:22:25 -07:00
Wesley Wigham
2af8ac73ff Add xterm test to docker suite (#32149) 2019-06-27 15:29:22 -07:00
Sheetal Nandi
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 Casey
f1c781fa13 Merge pull request #31988 from amcasey/SyntacticClassifications
Trivially expose getEncodedSyntacticClassifications
2019-06-27 10:16:57 -07:00
Nathan Shively-Sanders
e6b347ad42 Merge pull request #32138 from microsoft/jsdoc-match-backticks
Jsdoc: allow backticks to escape `@`
2019-06-27 10:11:43 -07:00
TypeScript Bot
9832899372 Update user baselines (#32136) 2019-06-27 10:09:38 -07:00
Nathan Shively-Sanders
2362dd4fac Add fourslash test of jsdoc backtick parsing 2019-06-27 08:49:56 -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
Wesley Wigham
b3d55d0cd8 Add throw on not rebaseable to unmatched PRs, too 2019-06-26 16:01:51 -07:00
Wesley Wigham
1479bb6bc8 Check if triggering PR is in triggered set only if triggered pr exists (otherwise is master sync) 2019-06-26 15:38:45 -07:00
Andrew Casey
2d785c8c91 Make args types internal 2019-06-26 15:09:30 -07:00
Klaus Meinhardt
392d775095 allow const-assertion on aliased enum symbol (#32110)
Fixes: #32087
2019-06-26 14:42:06 -07:00
Orta
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 Branch
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
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
Orta Therox
897fb3a2a6 Handle making sure that two less thans are never converted into >> 2019-06-25 15:16:15 -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
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
Andrew Casey
96fcf1e0c0 Update API baseline 2019-06-21 14:55:29 -07:00
Wesley Wigham
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 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
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