Commit Graph

32750 Commits

Author SHA1 Message Date
Nathan Shively-Sanders cce2b9316e Merge branch 'master' into report-multiple-overload-errors 2019-07-01 10:17:03 -07:00
Nathan Shively-Sanders b46c44d70d Merge pull request #32181 from microsoft/use-only-immediately-preceding-jsdoc
Use only immediately preceding JSDoc
2019-07-01 10:12:05 -07:00
Sheetal Nandi ebf323ea19 Merge pull request #32124 from austincummings/affectsEmitToModuleAndEsModuleInterop
Add affectsEmit to module and esModuleInterop options
2019-07-01 09:59:41 -07:00
Sheetal Nandi 1bd631e593 Merge pull request #32076 from stristr/master
Make close() in interface Watch<T> public
2019-07-01 09:46:09 -07:00
Anders Hejlsberg f89165d072 Merge pull request #32049 from microsoft/noDuplicateIntersectionSignatures
Remove duplicate signatures in intersections
2019-06-30 19:38:37 -07:00
Anders Hejlsberg 17153a6e5f Fix linting error 2019-06-30 08:54:48 -10:00
Anders Hejlsberg cc7a24c27f Accept new baselines 2019-06-30 08:18:08 -10:00
Anders Hejlsberg 5ad3d1bf08 Add more tests 2019-06-30 08:18:01 -10:00
Austin Cummings c30054de63 Fix esModuleInterop affectsEmit change test 2019-06-30 11:06:00 -07:00
Anders Hejlsberg 32f1b4e56c Accept new baselines 2019-06-30 08:02:53 -10:00
Anders Hejlsberg eb1b2251b8 Pad tuple type initializers of parameter array binding elements 2019-06-30 08:02:18 -10:00
BigAru 3e0d34cdd8 remove explicit escaping for placeholder opening 2019-06-30 19:32:26 +02:00
BigAru 04f96db89d use stringLiteral property text instead of decodeRawString 2019-06-30 13:45:47 +02:00
Nathan Shively-Sanders fefb857847 Use only immediately preceding JSDoc
Now only the immediately preceding jsdoc of a node is retrieved by
getJSDoc, although it still does the correct non-local lookup for nodes
like ParameterDeclaration.

This doesn't change parsing or binding, which use the per-node Node.jsdoc
property directly. But it does change everything that relies on getJSDoc,
which includes the checker and language service.

Fixes #32062, which contains the analysis that justifies the change.
2019-06-29 08:05:10 -07:00
Anders Hejlsberg 4c99084b38 Accept new baselines 2019-06-28 17:10:09 -10:00
Anders Hejlsberg b7b7a6626c Add regression tests 2019-06-28 17:09:22 -10:00
Anders Hejlsberg fbb79400bb Accept new baselines 2019-06-28 16:54:55 -10:00
Anders Hejlsberg 2e5249835d Remove logic that pads array literals contextually typed by tuple types 2019-06-28 16:54:42 -10: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
Nathan Shively-Sanders 34c4047371 Update baselines with new error numbers 2019-06-28 16:26:52 -07:00
Nathan Shively-Sanders 71276a21af Merge branch 'master' into report-multiple-overload-errors 2019-06-28 16:24:38 -07:00
Nathan Shively-Sanders 97784749b5 Fix lint 2019-06-28 16:09:54 -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
Nathan Shively-Sanders c48018f95e Merge branch 'master' into report-multiple-overload-errors 2019-06-28 16:02:35 -07:00
Nathan Shively-Sanders 47bbc9546e Convert related spans to message chains 2019-06-28 15:42:27 -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
Sheetal Nandi 96a8c86c65 Merge branch 'master' into referencesPrototypeSourceFile 2019-06-28 12:42:22 -07:00
Sheetal Nandi 4ae091fa9e Update src/server/project.ts
Co-Authored-By: Orta <orta.therox+github@gmail.com>
2019-06-28 10:17:58 -07:00
Sheetal Nandi 4f802e7205 When checking sourceFile is from external library, use sourceFile.resolvedPath since thats how the source files are queried and thats the real path
Fixes #32086
2019-06-28 10:14:33 -07:00
Anders Hejlsberg a1c6d9e671 Accept new baselines 2019-06-27 16:48:06 -10:00
Anders Hejlsberg 5c6c1a3efe Add regression test 2019-06-27 16:48:00 -10:00
Nathan Shively-Sanders ba9d8e2e81 Switch DiagnosticMessageChain to be a tree 2019-06-27 16:30:35 -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
Sheetal Nandi 75bd3cd9be Fix more tests 2019-06-27 12:16:32 -07:00
Sheetal Nandi da9260c013 Create original project when location is in source of project reference redirect 2019-06-27 10:38: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 35dda10865 Fix lint, remove overloads 2019-06-27 09:09:59 -07:00
Nathan Shively-Sanders 2362dd4fac Add fourslash test of jsdoc backtick parsing 2019-06-27 08:49:56 -07:00
Alexander T ab28ee7005 update eslint, @typescript-eslint/* 2019-06-27 14:08:53 +03:00
Alexander T 769bb0b475 remove tslint configuration 2019-06-27 13:49:35 +03:00