Commit Graph

32750 Commits

Author SHA1 Message Date
Wenlu Wang b8e3c41ee1 fix jsdoc iterator on expression of export assignment (#30558) 2019-04-25 14:53:06 -07:00
Ryan Cavanaugh 867c992021 Update pull_request_template.md 2019-04-25 14:45:44 -07:00
Kagami Sascha Rosylight 1a75d525fa add ES2020 matchAll APIs (#30936) 2019-04-25 14:11:50 -07:00
Sheetal Nandi 9bb8373327 Accept API changes 2019-04-25 14:06:49 -07:00
Anders Hejlsberg 50f5e160aa Accept new baselines 2019-04-25 13:46:45 -07:00
Daniel Rosenwasser 58898f4351 Make Omit alias a separate type (#31115)
Make `Omit` alias a separate type
2019-04-25 16:40:24 -04:00
Klaus Meinhardt b45df892a8 emit error on destructuring of rest property (#29609)
Fixes: #26005
2019-04-25 13:33:49 -07:00
Andy Hanson dc7c9bad3d Avoid eagerly computing test payload (#27851) 2019-04-25 13:26:19 -07:00
Andy Hanson 9168bd4845 Simplify hasExportDeclarations (#27846) 2019-04-25 13:25:48 -07:00
Ely Alamillo 591b25593d update error message and update baselines (#27628) 2019-04-25 13:16:41 -07:00
Anders Hejlsberg 4fe59dc705 Only defer pure functions and pure constructor functions during inference 2019-04-25 13:02:02 -07:00
Andrew Branch 72f30a8308 Add test for quoted constructors 2019-04-25 11:35:10 -07:00
Andy Hanson aafba363e4 Avoid recalculating versionPaths in loadNodeModuleFromDirectory (#27537)
* Avoid recalculating versionPaths in loadNodeModuleFromDirectory

* Update baselines
2019-04-25 11:06:31 -07:00
Andy Hanson 6e4c150d6b When function parameters span multiple lines, make the function span start at the ( (#26907)
* When function parameters span multiple lines, make the function span start at the `(`

* Undo unnecessary change
2019-04-25 10:53:39 -07:00
Wenlu Wang 583edce6b0 fix compiler crash (#25925) 2019-04-25 10:51:36 -07:00
Andy Hanson e007ccf97b Simplify chaining of transforms (#22994) 2019-04-25 10:38:20 -07:00
Wenlu Wang bc46c770bf allow literan enum const assertions (#30700)
* allow literan enum const assertions

* update desc
2019-04-25 10:09:21 -07:00
Anders Hejlsberg fcd6f5225a Accept new baselines 2019-04-25 10:01:40 -07:00
Anders Hejlsberg 4384c90670 Support higher order inferences for constructor functions 2019-04-25 09:58:39 -07:00
Daniel Rosenwasser a34f9880ea Accepted baselines. 2019-04-24 17:01:28 -07:00
Daniel Rosenwasser 57938e6cc2 Make Omit alias its own mapped type so that references to it never expand to Pick<...>. 2019-04-24 16:57:20 -07:00
Daniel Rosenwasser 622cb42137 Accepted baselines. 2019-04-24 16:45:30 -07:00
Daniel Rosenwasser 60e7b5d17e Added tests. 2019-04-24 16:43:17 -07:00
Sheetal Nandi 80f1ba4e42 Cache files extended so we arent calculating the config again and again 2019-04-24 15:51:27 -07:00
Andrew Branch 89497fcac9 Don’t use checkExpressionCached when checking spread element inside a loop 2019-04-24 14:15:58 -07:00
Andrew Branch b0100100a1 Merge pull request #31095 from andrewbranch/tslint-exclude-tests
Exclude tests/cases/* from tslint
2019-04-24 12:52:53 -07:00
Sheetal Nandi 93b958e0ea Share module resolution cache among different program 2019-04-24 12:47:01 -07:00
Sheetal Nandi 3264b64f08 Reuse map if module resolution is same for redirected and own files 2019-04-24 11:57:59 -07:00
Sheetal Nandi fecafebf76 Add getParsedCommandLine optional method on compiler host to be able to provide parsedCommandLine instead of redoing work 2019-04-24 11:57:49 -07:00
Andrew Branch 4b81e37941 Merge pull request #31093 from andrewbranch/bug/30997
Fix crash getting error for type alias index signature without a type
2019-04-24 11:36:38 -07:00
Andrew Branch 7ba1c8aba2 Exclude everything in tests 2019-04-24 11:35:37 -07:00
Andrew Branch 48f038067e Add crashing test 2019-04-24 11:35:18 -07:00
Sheetal Nandi f27cf9b34e Merge pull request #30971 from Microsoft/dtsSignatureChange
Handle when change in type of dts may result in only dts emit but not js emit
2019-04-24 11:16:22 -07:00
Andrew Branch fc7b7c83b3 Exclude tests/cases from tslint 2019-04-24 10:41:17 -07:00
Andrew Branch 956436853e Fix crash getting error for type alias index signature without a type 2019-04-24 10:35:23 -07:00
Jordan Harband d4ff58d53f [fix] ES5 Object.keys only accepts an object (#27089) 2019-04-24 10:18:31 -07:00
Andrew Branch 973c3cac8d When unidirectionally merging symbols, do so recursively 2019-04-24 09:07:08 -07:00
Andrew Branch eff3960020 Fix baseline file name changes 2019-04-24 08:52:07 -07:00
Andrew Branch d69f9f3328 Add bad test case 2019-04-24 08:44:24 -07:00
Andrew Branch 6608349ea2 Merge pull request #31008 from andrewbranch/bug/29358
Support binding patterns in Promise -> async/await refactor
2019-04-24 08:43:15 -07:00
Ron Buckton e2310f2831 Merge pull request #26151 from Kingwl/PropertyDeclarationExclamationToken
visit exclamation token
2019-04-23 21:21:58 -07:00
Ron Buckton 6e0b39e399 Update src/compiler/visitor.ts
Co-Authored-By: Kingwl <kingwenlu@gmail.com>
2019-04-23 21:27:06 -05:00
Andrew Branch 3e30a7c2ad Remove all but one server unit test 2019-04-23 16:45:08 -07:00
Andrew Branch e28b9b2ba2 Copy smartSelect tests to fourslash 2019-04-23 16:41:59 -07:00
Andrew Branch 6fc2e4a32e Add custom baseline format for smart selection 2019-04-23 15:34:01 -07:00
Wesley Wigham d7f03fb0fa Parse generic function types in import type argument lists (#31079)
* Parenthesize in import type node factory

* And now parse unparenthesized generic functions so we can handle parsing the older output
2019-04-23 14:48:31 -07:00
David Sherret 8fc6640f55 Rename _objectLiteralBrandBrand to _objectLiteralBrand. (#30797) 2019-04-23 14:33:54 -07:00
Wenlu Wang 27075555c8 fix generate typenode from negative numerical literal (#30610) 2019-04-23 14:20:53 -07:00
Wesley Wigham bb1ac81bb1 Experimental management scripts (#31067)
* Add configure-experimental

* Add script for synchronizing branches with master and creating an experimental branch with the result of merging those
2019-04-23 13:52:23 -07:00
Ryan Cavanaugh 885d4d63c8 Remove "generate types" code (#31075) 2019-04-23 13:51:47 -07:00