Commit Graph

26317 Commits

Author SHA1 Message Date
Wesley Wigham 6d2b738bd8 Use built local on CI and not LKG (#29886)
* Use built local on CI and not LKG

* Adjust function to remove need for assertions

* Accept baseline diff to go back to local based baseline

* Remove comment
2019-02-12 17:55:19 -08:00
Gabriela Araujo Britto dbd84996aa don't apply refactor when parameter has decorators 2019-02-11 14:24:05 -08:00
Sheetal Nandi 499bc70056 Make printer option to be writing bunfle file info and use the result instead 2019-02-11 13:47:24 -08:00
Sheetal Nandi 217a34256c Move bundleFileInfo as printer options 2019-02-11 13:13:19 -08:00
Gabriela Araujo Britto dba631de80 copy comments when refactoring 2019-02-11 12:02:51 -08:00
Gabriela Araujo Britto 26f8ddd46a create functions for copying trailing comments and rename previous copyComment function 2019-02-11 12:01:02 -08:00
Ryan Cavanaugh 75101d4b72 Merge pull request #29860 from RyanCavanaugh/noEval
Enable no-eval rule
2019-02-11 11:47:05 -08:00
Anders Hejlsberg f93f4f3c62 Merge pull request #29847 from Microsoft/inferToUnionTypes
Improve inference to union and intersection types
2019-02-11 11:34:05 -08:00
Anders Hejlsberg d66000bc47 Merge pull request #29787 from Microsoft/inferToPartiallyHomomorphic
Infer to partially homomorphic types (such as Pick<T, K>)
2019-02-11 11:33:27 -08:00
Ryan Cavanaugh 02a5ef6a17 Add setInterval/setTimeout 2019-02-11 11:26:19 -08:00
Ryan Cavanaugh 1f10e74abc Enable no-eval rule 2019-02-11 11:18:29 -08:00
Anders Hejlsberg ce6c04e9b5 Merge branch 'master' into inferToUnionTypes 2019-02-11 11:00:41 -08:00
Anders Hejlsberg 32b44ac65a Merge pull request #29858 from Microsoft/fixContextualRestTuple
Fix contextual types computed from rest parameters
2019-02-11 10:59:11 -08:00
Nathan Shively-Sanders 17d16d1bbb Disable checkJS survey (#29830)
* Disable checkJS survey

* Completely remove survey infrastructure

* Re-instate the protocol part of SurveyReady
2019-02-11 08:36:35 -08:00
Anders Hejlsberg 1f32139811 Make inferences to union types containing multiple naked type variables 2019-02-10 15:07:01 -08:00
Anders Hejlsberg 9a0a838d12 Use getIndexedAccess to compute type for contextual rest parameters 2019-02-10 07:48:22 -08:00
Matt McCutchen 1aca1dd036 Make the assignability rule for conditional types require the check
types and distributivity to be identical.

Fixes #27118.
2019-02-09 17:22:08 -05:00
Anders Hejlsberg 040401205b Delete wayward comment 2019-02-08 06:53:39 -08:00
Anders Hejlsberg f46c0a4597 Process more complex constraints as per CR feedback 2019-02-08 06:49:13 -08:00
Sheetal Nandi 1d77008993 Handle when no .tsbuildinfo is to be generated 2019-02-07 16:27:45 -08:00
Sheetal Nandi 99df3230aa Merge branch 'master' into incrementalBuildInfo 2019-02-07 15:05:58 -08:00
Sheetal Nandi adcb79a111 Emit bundle information into bundle field of buildinfo and only if bundled emit 2019-02-07 14:32:52 -08:00
Sheetal Nandi bc386c11fd Use execFileSync in typing installer 2019-02-07 14:20:20 -08:00
Kagami Sascha Rosylight 13c72b786e Merge remote-tracking branch 'upstream/master' into es2019 2019-02-08 06:55:56 +09:00
Ron Buckton b9ca653cf6 Merge branch 'async-es2018' of https://github.com/saschanaz/TypeScript into saschanaz-async-es2018 2019-02-07 13:27:25 -08:00
Sheetal Nandi 8f18cec80c Dont emit program information in --out scenarios 2019-02-07 13:01:10 -08:00
Ron Buckton 61d13b740e Merge pull request #29726 from bmeurer/modifierFlagsCache
Make modifierFlagsCache mandatory for Node objects
2019-02-07 12:13:46 -08:00
Sheetal Nandi 23b5b14565 Fix incremental build changes declaration dir 2019-02-07 12:10:15 -08:00
Sheetal Nandi e3f8c34bc9 Add mechanism to dump and read program to build info 2019-02-07 12:10:15 -08:00
Sheetal Nandi 212cd62f05 Generate buildInfo for non --out and prepend options as well 2019-02-07 12:10:14 -08:00
Sheetal Nandi 9794080ee7 Merge branch 'master' into usePrependToSkipBuild 2019-02-07 12:09:36 -08:00
Benedikt Meurer d3e23884c4 Fix linter warnings. 2019-02-07 20:39:03 +01:00
Ron Buckton a94c383b71 Merge pull request #27292 from kpreisser/fix26090
Align the ShimMap iterator behavior with native Maps
2019-02-07 11:17:22 -08:00
Sheetal Nandi ada1c3ffd9 Fix missing comma 2019-02-07 11:11:14 -08:00
Sheetal Nandi ab7d65e01f Merge branch 'master' into usePrependToSkipBuild 2019-02-07 10:39:41 -08:00
Sheetal Nandi 3a28fb0786 Add another test to generate baseline when sample's logic config file changes declaration dir 2019-02-07 10:29:56 -08:00
Kagami Sascha Rosylight b3c179540a String.prototype.{trimStart,trimEnd} hit stage 4 2019-02-08 00:51:23 +09:00
Kagami Sascha Rosylight f525a89e87 Array.prototype.{flat,flatMap} hit stage 4 2019-02-08 00:10:34 +09:00
kpreisser 5043bf72f5 PR feedback. 2019-02-07 09:01:27 +01:00
Kagami Sascha Rosylight 40a4bd0a95 revive esnext.symbol 2019-02-07 10:45:44 +09:00
Kagami Sascha Rosylight 582526929b restore flags 2019-02-07 10:27:50 +09:00
Kagami Sascha Rosylight a8823f5169 Merge branch 'master' into es2019 2019-02-07 10:08:26 +09:00
Kagami Sascha Rosylight 5a6dc081f6 revive esnext.asynciterable 2019-02-07 10:01:36 +09:00
Wesley Wigham 8e5dcfbde5 Add try priors as finally lock label andecedents rather than pre finally label antecedents (#29790) 2019-02-06 16:59:26 -08:00
Kagami Sascha Rosylight 2c4589d5a9 Merge remote-tracking branch 'upstream/master' into async-es2018 2019-02-07 09:51:26 +09:00
Gabriela Britto 7d86fda151 fix hasThisParameter to check for parameters length 2019-02-06 16:06:46 -08:00
Mine Starks c03af51186 Merge pull request #29785 from jessetrinity/add-auto-quotepreference
Add explicit "auto" quotePreference
2019-02-06 15:43:41 -08:00
Gabriela Britto 9270e58eaf Merge branch 'master' into convert-to-named-parameters 2019-02-06 15:41:16 -08:00
Gabriela Britto b87392c22c fix duplication of leading and trailing comments on refactored function 2019-02-06 15:40:58 -08:00
Gabriela Britto 18b2b55387 add option to suppressLeadingAndTrailingTrivia non recursively 2019-02-06 15:38:59 -08:00