Commit graph

26138 commits

Author SHA1 Message Date
Kagami Sascha Rosylight 1d8a2ea38c Symbol.prototype.description hit stage 4 2019-01-06 11:42:55 +09:00
Kagami Sascha Rosylight c89a80736e add ES2019 target 2018-12-27 19:46:21 +09:00
Sheetal Nandi b8def16e92
Merge pull request #28902 from Microsoft/unitTestsSplit
Unittests refactoring
2018-12-21 12:52:29 -08:00
TypeScript Bot a139303413 Update user baselines (#29109) 2018-12-20 16:57:21 -08:00
Sheetal Nandi efc71602cd Refactor tsc-watch tests 2018-12-20 14:17:43 -08:00
Sheetal Nandi f117184562 More tsserver tests refactoring 2018-12-20 14:00:45 -08:00
Sheetal Nandi db4d9b3050 Add unittests:: on all unittests describe blocks for easy run 2018-12-20 13:20:53 -08:00
Sheetal Nandi 53e2507f60 More scenarios in their own test 2018-12-20 12:55:18 -08:00
Sheetal Nandi 5c8ef3934d Move the tests into their own folder for easy scenario search 2018-12-20 12:19:18 -08:00
Sheetal Nandi 9e17a66151 Sym links into single test 2018-12-20 12:18:43 -08:00
Sheetal Nandi 5234b8b18e Move more tests into resolutionCache and project errors 2018-12-20 12:17:02 -08:00
Sheetal Nandi 160c73f942 Separate out caching file system test 2018-12-20 12:16:47 -08:00
Sheetal Nandi 96c73701c1 More refactoring for resloutionCache and project errors 2018-12-20 12:16:23 -08:00
Sheetal Nandi f6ac949596 Separate out LargeFileReferencedEvent test 2018-12-20 12:15:58 -08:00
Sheetal Nandi 04e190abb7 ProjectUpdatedInBackground in a separate unittest 2018-12-20 12:15:43 -08:00
Sheetal Nandi 39ec69e26e Separate out tests for project loading events into their own unittest file 2018-12-20 12:15:25 -08:00
Sheetal Nandi 03d66dd2ef Emit error tsserver tests into projectErrors 2018-12-20 12:12:54 -08:00
Sheetal Nandi 37a080bca9 tsserver's typingInstaller test into typingsInstaller unittest 2018-12-20 12:12:37 -08:00
Sheetal Nandi 1b6db32ecd Move error tests from tsserver project system to projectErrors 2018-12-20 12:12:19 -08:00
Sheetal Nandi 53a6968f06 More refactoring for compile on save 2018-12-20 12:11:59 -08:00
Sheetal Nandi 347f89c851 tsc-watch emit tests in to its own tests 2018-12-20 12:11:36 -08:00
Sheetal Nandi 7b9b0f8da7 Split resolutionCache and watchApi tests into its own unittest 2018-12-20 12:11:07 -08:00
Sheetal Nandi 47200acfcd Split watch environment into its own unittest 2018-12-20 12:10:28 -08:00
Sheetal Nandi 2a02077e37 Add name of test in all describe blocks in it 2018-12-20 12:09:42 -08:00
Wesley Wigham 08022d57c8
Allow calls on unions of dissimilar signatures (#29011)
* Add core of new union signature logic and test - needs intersection signature logic to fully work

* Add inversion of variance for class props lookup from union sig returns

* Fix lints

* Combine parameter names for nicer quick info

* PR feedback 1

* Fix miscopy

* PR feedback round 2

* Remove argument name combining because loc :(

* Nit cleanup round 3

* Reinline getTupleTypeForArgumentAtPos

* Remove a tad more

* No step on sneky off-by-one error
2018-12-19 16:35:01 -08:00
Daniel Rosenwasser ab2a38ebef
Merge pull request #29102 from Microsoft/declarationEmitForDefaultExportClassExtendingExpression
Declaration emit for default exported class extending expression
2018-12-19 16:19:36 -08:00
Daniel Rosenwasser dec3fe6199 Accepted baselines. 2018-12-19 15:51:31 -08:00
Daniel Rosenwasser 9277c03666 Check whether class declarations have a name, falling back to "default". 2018-12-19 15:51:31 -08:00
Daniel Rosenwasser 54352dc1c9 Added test case. 2018-12-19 15:51:31 -08:00
Sheetal Nandi fcd502502a
Merge pull request #28886 from Microsoft/sourceMapDecoder
Enhancements to SourceMap decoder from tsserver
2018-12-19 12:51:42 -08:00
Anders Hejlsberg 3e0639add5
Merge pull request #29053 from Microsoft/fixDestructuringControlFlow
Fix destructuring control flow analysis
2018-12-19 11:12:41 -08:00
Anders Hejlsberg 2e6366fd1c Accept new baselines 2018-12-19 10:23:45 -08:00
Anders Hejlsberg 63273394e4 No public API changes 2018-12-19 10:23:13 -08:00
Anders Hejlsberg 43d92f0525 Accept new baselines 2018-12-19 08:45:27 -08:00
Anders Hejlsberg 676338971d Improve error message for out-of-bounds tuple element access 2018-12-19 08:45:18 -08:00
Wesley Wigham d23effc200
Non-latebound computed property names should print as their underlying name type (#29084) 2018-12-18 17:02:34 -08:00
Wesley Wigham fd7fd133e2
Fix the up-to-date-ness checks of sucessive gulp invocations (#29088) 2018-12-18 16:41:02 -08:00
Wesley Wigham c05bfb774f
Adjust travis branch spec to capture all release branches (#29086) 2018-12-18 15:21:44 -08:00
Anders Hejlsberg 8ac18be108
Merge pull request #29082 from Microsoft/widenIntersectionTypes
Properly widen intersection types
2018-12-18 12:53:33 -08:00
Wesley Wigham 4e3bc9e35a
Reset constEnumOnlyModule flag on relevant symbol merges in binder (#29079) 2018-12-18 12:31:53 -08:00
Anders Hejlsberg 7c2f4b3be8 Accept new baselines 2018-12-18 11:58:12 -08:00
Anders Hejlsberg 519c501ea5 Add regression test 2018-12-18 11:58:06 -08:00
Anders Hejlsberg 67491414f1 Handle intersection types in getWidenedType 2018-12-18 11:50:29 -08:00
Daniel Rosenwasser 3edd2d6893
Merge pull request #28896 from JoshuaKGoldberg/n-identifier-after-numeric-literal-error
Better error message for invalid bigint literals ending with n
2018-12-18 11:38:06 -08:00
Wesley Wigham 4f7184a587
Fix all new lint failures (#29080) 2018-12-18 11:34:02 -08:00
Josh Goldberg 0d7e3f82d4 Stretched the error to the end of 'n's 2018-12-18 00:56:00 -08:00
Daniel Rosenwasser c5ee5ea7f2
Update CONTRIBUTING.md 2018-12-17 21:13:23 -08:00
Daniel Rosenwasser a58f7dfb1e
Update CONTRIBUTING.md 2018-12-17 21:06:00 -08:00
Daniel Rosenwasser ec83a53273
Update CONTRIBUTING.md 2018-12-17 21:05:06 -08:00
Daniel Rosenwasser 65b230e5ab
Merge pull request #29069 from weswigham/remove-duplicate-function
Remove duplicate function from checker
2018-12-17 16:48:14 -08:00