Commit Graph

  • 78d221993b fix getExtendedConfig in commandLineParser Klaus Meinhardt 2018-09-17 14:41:48 +02:00
  • 304c6e95d0 Merge branch 'master' into codefix_add_missing_new_operator iliashkolyar 2018-09-17 14:09:32 +03:00
  • 394ee31a56 Fix cross-file merge of assignment decl valueDeclaration (#26918) Nathan Shively-Sanders 2018-09-16 07:46:03 -07:00
  • 70ce7abe12 Merge pull request #27109 from uniqueiniquity/diagnosticLocation Benjamin Lichtman 2018-09-15 18:36:42 -07:00
  • 921863eb31 Use head message at top level of elaboration if elaborating via possible call (#27107) Wesley Wigham 2018-09-15 13:24:22 -07:00
  • ecc2ba7121 Update baselines xl1 2018-09-15 23:02:50 +09:00
  • 89e7d51df4 Add tests xl1 2018-09-15 23:02:36 +09:00
  • 9819b6b7aa Allow non-number array for source of TypedArray.from xl1 2018-09-15 23:00:01 +09:00
  • e4718564e5 Merge pull request #27082 from Microsoft/watchAPIAndProjectReferences Sheetal Nandi 2018-09-14 17:58:42 -07:00
  • 1d22e03db0 Merge pull request #27100 from Microsoft/revertResolveProjectReferencePathAPIChange Sheetal Nandi 2018-09-14 17:58:09 -07:00
  • 32cb9ece8b Add test Benjamin Lichtman 2018-09-14 17:20:46 -07:00
  • 9e1a05c9ec Handle function assigned to binding pattern Benjamin Lichtman 2018-09-14 17:20:41 -07:00
  • 853afd9d56 Add test Benjamin Lichtman 2018-09-14 16:33:46 -07:00
  • 2c881fd90a Report diagnostic on expression name if it exists Benjamin Lichtman 2018-09-14 16:33:40 -07:00
  • 359930a677 Use qutemarks around new instead of ticks around new in diagnostic (#27106) Wesley Wigham 2018-09-14 15:57:24 -07:00
  • 20eafb5b74 Introduce boolean literal freshness (#27042) Wesley Wigham 2018-09-14 15:00:09 -07:00
  • 4eb59a2d77 Fixing react defaultize+generic default props interaction (#27088) Wesley Wigham 2018-09-14 14:18:47 -07:00
  • 16be97cd98 Accept new baselines fixTypeVariableLogicalAnd Anders Hejlsberg 2018-09-14 14:07:34 -07:00
  • 6200aa0206 Add test Anders Hejlsberg 2018-09-14 14:07:22 -07:00
  • d6ffdde059 Revert the API change to resolveProjectReferencePath introduced in #27062 Sheetal Nandi 2018-09-14 12:57:40 -07:00
  • c63d58148a Fix the usage of createProgram in tsc Sheetal Nandi 2018-09-14 12:44:02 -07:00
  • bce34ada8f Merge pull request #27031 from uniqueiniquity/asyncCatchUniqueNames Benjamin Lichtman 2018-09-14 11:13:00 -07:00
  • 20f671ede2 PR feedback Sheetal Nandi 2018-09-14 11:07:22 -07:00
  • 40d33c809a Merge branch 'master' into watchAPIAndProjectReferences Sheetal Nandi 2018-09-14 10:54:07 -07:00
  • 359f2ebd54 Accept new baselines Anders Hejlsberg 2018-09-14 10:48:51 -07:00
  • 524b7c9954 Fix resulting issues in compiler Anders Hejlsberg 2018-09-14 10:47:29 -07:00
  • 332b8f29b5 Make && operator properly reflect falsy types from constraints Anders Hejlsberg 2018-09-14 10:47:13 -07:00
  • e547cdf8e3 Merge pull request #27078 from Microsoft/commonCompilerOptionsWithBuild Sheetal Nandi 2018-09-14 10:10:06 -07:00
  • ebb89ba50c Merge branch 'master' into commonCompilerOptionsWithBuild Sheetal Nandi 2018-09-14 10:08:34 -07:00
  • 513a16264b Make parseCommandLineWorker non generic Sheetal Nandi 2018-09-14 10:02:42 -07:00
  • 47f311ac03 Merge pull request #27062 from Microsoft/tsbuildWatchImprovements Sheetal Nandi 2018-09-14 09:54:17 -07:00
  • 0e985eb342 Merge branch 'master' into asyncCatchUniqueNames Benjamin Lichtman 2018-09-14 09:50:27 -07:00
  • b5639786bd Merge pull request #26135 from Microsoft/watchDirectoryOfNodeModulesScriptInfo Sheetal Nandi 2018-09-14 09:49:41 -07:00
  • 98055ad540 Use separate map with smaller scope to track renames Benjamin Lichtman 2018-09-14 09:46:58 -07:00
  • 13deedf841 Merge pull request #26930 from uniqueiniquity/onlyReportExpectedPromiseArgs Benjamin Lichtman 2018-09-14 09:41:34 -07:00
  • 95c1570c4b Fix bug: VariableDeclaration may have SemanticMeaning.All if an @enum in JS (#27085) Andy 2018-09-14 09:20:54 -07:00
  • 009dc0f1b9 For completion in string literal union, don't include strings already in the union (#26755) Andy 2018-09-14 09:20:11 -07:00
  • 57a6dbd6fa Add clarifying comments Benjamin Lichtman 2018-09-14 08:50:18 -07:00
  • 91af958e10 Accepted baselines. Daniel Rosenwasser 2018-09-13 17:54:06 -07:00
  • 76e721f389 Added tests. Daniel Rosenwasser 2018-09-13 17:53:53 -07:00
  • 5ab8bd85ae Try to find object/intersection types with the most overlap when failing assignability against unions. Daniel Rosenwasser 2018-09-13 17:49:09 -07:00
  • ee7d0e21da getEditsForFileRename: Don't resolve to a.js when a.ts is moved (#27081) Andy 2018-09-13 15:49:42 -07:00
  • f71d6005a2 Use nextToken() after parsing a tag name so we can parse type keywords (#26915) Andy 2018-09-13 15:49:06 -07:00
  • ea67e3ac56 Fix watch of project with project references Sheetal Nandi 2018-09-13 15:18:53 -07:00
  • ebfcc1b52d Fix bug: Ignore @enum tag in TS (#27076) Andy 2018-09-13 15:24:49 -07:00
  • 64d0e0d448 Shorten more internal names to JS or TS (#27080) Nathan Shively-Sanders 2018-09-13 15:05:57 -07:00
  • 2b0e9e686b typo: missing word: "to" (#27079) Dan Rollo 2018-09-13 17:23:56 -04:00
  • e2edb69638 Instead of watching individual script infos, watch the node modules folder for script infos in node modules Sheetal Nandi 2018-08-01 15:30:14 -07:00
  • 4ed63e52ef Add test for preserveWatchOutput on command line #26873 Sheetal Nandi 2018-09-13 13:00:06 -07:00
  • 1a69f78fba Fix bug: Ensure export = symbol always has a valueDeclaration (#26973) Andy 2018-09-13 12:53:46 -07:00
  • 4cf746cdc4 Enable listFiles and listEmittedFiles as build option Sheetal Nandi 2018-09-13 11:17:03 -07:00
  • 0d60348e45 Unify the commandline parsing worker Sheetal Nandi 2018-09-13 09:54:35 -07:00
  • 37c3c5d8bb Refactoring Sheetal Nandi 2018-09-13 09:24:54 -07:00
  • e700022cef Remove unnecessary case Benjamin Lichtman 2018-09-13 09:46:40 -07:00
  • d12110d3e5 Respond to CR Benjamin Lichtman 2018-09-13 09:32:38 -07:00
  • 504b5f2985 Add and update tests Benjamin Lichtman 2018-09-13 09:04:52 -07:00
  • 905578cf37 Use existing identifier when possible for renaming functions Benjamin Lichtman 2018-09-13 09:02:02 -07:00
  • cc7bfc0349 Support testing jsdoc tags of completions (#26962) Andy 2018-09-13 08:47:50 -07:00
  • 932e14e661 Merge pull request #27064 from Microsoft/makeFileLevelOptimisticUniqueName Daniel Rosenwasser 2018-09-13 01:45:55 -07:00
  • 7c15378376 InsertNode instead of replace + handling call expressions iliashkolyar 2018-09-13 08:30:43 +03:00
  • ea7ff15307 makeFileLevelOptmiisticUniqueName -> makeFileLevelOptimisticUniqueName Daniel Rosenwasser 2018-09-12 17:51:57 -07:00
  • 2b888c30f9 Consistently pass indent to 'parseTagComments' (#27055) Andy 2018-09-12 17:44:06 -07:00
  • d3463ce356 Avoid circularly resolving names when looking up type members using resolveName (#26924) Wesley Wigham 2018-09-12 17:16:34 -07:00
  • b8f33f6a35 Report all project errors on incremental compile Sheetal Nandi 2018-09-12 16:09:22 -07:00
  • 614423b287 Fix this-type in prototype-assigned object literals (#26925) Nathan Shively-Sanders 2018-09-12 16:21:17 -07:00
  • 5696384a9f Handle prepend output to be emitted in downstream project even if declaration file doesnt change Sheetal Nandi 2018-09-12 15:38:23 -07:00
  • 0319f103f2 Test case to verify the non local change doesnt build referencing projects Sheetal Nandi 2018-09-12 15:05:20 -07:00
  • ef2024a487 Handle circular project references Sheetal Nandi 2018-09-12 14:58:08 -07:00
  • 95e5f7d55a Add and update tests Benjamin Lichtman 2018-09-12 14:47:13 -07:00
  • 906fbae37b Handle promise handler block bodies with no return and other cleanup Benjamin Lichtman 2018-09-12 14:47:06 -07:00
  • 5553f36c9d Instead of queueing build for downstream projects right when invalidating project, do it after build for invalidated project is complete Sheetal Nandi 2018-09-12 12:30:48 -07:00
  • 9414fbe30b Merge branch 'master' into typedBindCallApply Anders Hejlsberg 2018-09-12 13:31:59 -07:00
  • 339f310563 Accept new baselines Anders Hejlsberg 2018-09-12 13:18:00 -07:00
  • df1e33a8a5 Add 'bind' overloads for rest parameter arrays Anders Hejlsberg 2018-09-12 13:17:11 -07:00
  • 2e17debbfb Prefer error candidates with no rest parameters over those with Anders Hejlsberg 2018-09-12 13:16:33 -07:00
  • 52293edce5 Fix inference when source and target both have rest parameters Anders Hejlsberg 2018-09-12 12:33:37 -07:00
  • 2f8a646f8e isExpandoFunctionDeclaration only checks values (#27052) Nathan Shively-Sanders 2018-09-12 12:21:50 -07:00
  • 6bd1da20c9 Rename JS-specific concepts (#26795) Nathan Shively-Sanders 2018-09-12 10:44:46 -07:00
  • 371ffffc6d Update user baselines (#27048) TypeScript Bot 2018-09-12 10:17:26 -07:00
  • 5a26747428 Merge pull request #27004 from RyanCavanaugh/noJsNewModuleCompletions Ryan Cavanaugh 2018-09-12 08:32:14 -07:00
  • bdf1c782b2 Report file not found error about the project and watch config file even if not present Sheetal Nandi 2018-09-11 15:59:24 -07:00
  • 8a7550f82f Deadcode removal Sheetal Nandi 2018-09-11 15:51:10 -07:00
  • 42479ca337 Maintain project references more clearly - no need to maintain map from referencing projects to references - When queueing for downstream projects, always handle build order Sheetal Nandi 2018-09-11 15:35:12 -07:00
  • f2a1a428ea Merge pull request #27035 from Microsoft/fixTypesVersionTests Ron Buckton 2018-09-11 14:45:39 -07:00
  • 31374d21bf Provide suggestions for common can-not-find-name errors (#27034) Wesley Wigham 2018-09-11 14:42:17 -07:00
  • 40b7bc181d Update LKG. v3.1-rc Daniel Rosenwasser 2018-09-11 14:34:24 -07:00
  • c8cdb8146a Always create dependency graph and build order Sheetal Nandi 2018-09-11 14:27:25 -07:00
  • 5d79704931 Sanitize module resolution logs for typesVersions entries Ron Buckton 2018-09-11 14:19:28 -07:00
  • 1c1379252e Prefer elaborating on expressions which could be called to produce a correct type by suggesting such (#27016) Wesley Wigham 2018-09-11 14:11:31 -07:00
  • 3cdd617ec3 Add 'rc' to version string. Daniel Rosenwasser 2018-09-11 14:05:03 -07:00
  • aa9230f313 Merge pull request #27020 from Kingwl/improve_accidentally_calling_type-assertion_expressions Daniel Rosenwasser 2018-09-11 14:00:31 -07:00
  • 5029a61983 Cache global dependency graph and invalidate it only if doing full reload of the project or resetting builder context Sheetal Nandi 2018-09-11 13:52:26 -07:00
  • ec6c9ea004 Start shaping SolutionBuilder API Sheetal Nandi 2018-09-11 13:32:45 -07:00
  • 324073a1b2 Remove dead code and rearrange code to handle resolveProjectNames always returns array of resolved config file name Sheetal Nandi 2018-09-11 13:17:32 -07:00
  • a172751bf9 Always resolve the config file to ResolvedConfigFile if its json, otherwise combine tsconfig.json Sheetal Nandi 2018-09-11 12:56:23 -07:00
  • ec38ca4fcb Merge branch 'master' into tsbuildWatchImprovements Sheetal Nandi 2018-09-11 11:45:57 -07:00
  • e1daa470a3 Merge pull request #26983 from Tyriar/26850_invert_gutter Sheetal Nandi 2018-09-11 11:33:37 -07:00
  • 08c970a03d Merge pull request #26865 from chrissantos1995/bugs/fix-empty-files-diagnostics Sheetal Nandi 2018-09-11 11:25:29 -07:00
  • 9079df1a4d Update baselines Benjamin Lichtman 2018-09-11 11:09:31 -07:00
  • 92edc2db56 [WIP] Record original name of renamed variable Benjamin Lichtman 2018-09-07 17:04:34 -07:00