Commit Graph

  • c0e0c1c2f3 Revise intersection optimizations to include string, number and symbol Anders Hejlsberg 2018-07-21 12:23:02 -07:00
  • a9d497a008 Report compiler options errors as well as part of configFileDiag event Fixes #25741 Sheetal Nandi 2018-07-20 17:22:25 -07:00
  • 8817d9e5bc Ensure fixSpelling and importFixes still trigger on "Did you mean the instance/static member ..." (#25847) (#25848) Andy 2018-07-20 18:00:58 -07:00
  • f3dac771c6 findAllReferences/rename: Search in all open projects (#25648) (#25849) Andy 2018-07-20 18:00:47 -07:00
  • 93722c8942 findAllReferences/rename: Search in all open projects (#25648) Andy 2018-07-20 16:53:59 -07:00
  • 3d672d9550 Ensure fixSpelling and importFixes still trigger on "Did you mean the instance/static member ..." (#25847) Andy 2018-07-20 16:51:35 -07:00
  • 00a64172af Merge pull request #25680 from a-tarasyuk/bug/25667-getmodifiedtime-has-wrong-return-type Mohamed Hegazy 2018-07-20 16:35:43 -07:00
  • 03185a75b7 Merge pull request #25843 from Microsoft/port25817 Mohamed Hegazy 2018-07-20 16:32:10 -07:00
  • d0796ea547 Accept new baselines Anders Hejlsberg 2018-07-19 18:29:39 -07:00
  • d5f3cee35d Add regression test Anders Hejlsberg 2018-07-19 18:29:30 -07:00
  • bac5f90af1 Properly handle all generic kinds of types in rest positions Anders Hejlsberg 2018-07-19 18:29:20 -07:00
  • 7c512fbc41 Merge pull request #25817 from Microsoft/fixGenericRestTypes Anders Hejlsberg 2018-07-20 10:57:21 -10:00
  • b31f242223 Reflect getCurrentProgram as Program|undefined in the ResolutionHostCache If there were any exceptions, the getCurrentProgram might return undefined so this is defensive check for program Fixes #25765 Sheetal Nandi 2018-07-20 12:20:39 -07:00
  • e103692f32 Don't report quickInfo inside a comment in a PropertyAccessExpression (#25813) Andy 2018-07-20 11:49:21 -07:00
  • 8c7a1fad25 use missingFileModifiedTime instead check on undefined Alexander 2018-07-20 21:30:10 +03:00
  • bcd565287c Remove bad import completions tests (#25816) Andy 2018-07-20 11:11:03 -07:00
  • b21c1fd595 errorCodes in CodeFixRequestArgs is non-optional (#25815) Andy 2018-07-20 11:10:33 -07:00
  • 31d599abaf Check module.exports (#25732) Nathan Shively-Sanders 2018-07-20 10:59:26 -07:00
  • fedcd3a1b4 improve completions keyword for function like body (#25824) Wenlu Wang 2018-07-20 23:25:16 +08:00
  • 1c522a6e99 improve enum rechability check 王文璐 2018-07-20 15:48:26 +08:00
  • 8ae163a1cc Merge branch 'master' of https://github.com/Microsoft/TypeScript into bug/25667-getmodifiedtime-has-wrong-return-type Alexander T 2018-07-20 10:18:22 +03:00
  • 37add88b18 Update tests baselines Alexander T 2018-07-16 11:10:32 +03:00
  • 98915693bc LEGO: Merge pull request 25818 csigs 2018-07-19 21:10:53 -07:00
  • 2c6f265ae0 LEGO: check in for master to temporary branch. csigs 2018-07-20 04:10:29 +00:00
  • 949f8d23f6 Accept new baselines Anders Hejlsberg 2018-07-19 18:29:39 -07:00
  • b48910413a Add regression test Anders Hejlsberg 2018-07-19 18:29:30 -07:00
  • 5f2efc223d Properly handle all generic kinds of types in rest positions Anders Hejlsberg 2018-07-19 18:29:20 -07:00
  • 4ee3f2b3ea Watch subdirectories in project root instead of watching project root so as to avoid watching excluded directories that are not part of config file Fixes #25629 and Microsoft/vscode#51139 Sheetal Nandi 2018-07-19 13:28:55 -07:00
  • feca91c67b Merge pull request #25809 from ajafff/verify-strict-options Mohamed Hegazy 2018-07-19 15:56:45 -07:00
  • 555ead611b Merge pull request #25806 from ajafff/expose-stripInternal Mohamed Hegazy 2018-07-19 15:54:58 -07:00
  • 99d123a72d add correct test Klaus Meinhardt 2018-07-20 00:30:11 +02:00
  • 7031c43978 correctly detect if strictNullChecks is enabled Klaus Meinhardt 2018-07-20 00:16:59 +02:00
  • d5b3a28608 API: expose CompilerOptions.stripInternal Klaus Meinhardt 2018-07-19 23:13:53 +02:00
  • 1cedab18be Fix parsing of parenthesized JSDoc parameters (#25799) Nathan Shively-Sanders 2018-07-19 12:50:36 -07:00
  • 46827f4a76 Handle completions at name of namespace declaration (#25661) Andy 2018-07-19 10:26:18 -07:00
  • 5ed76973ed Merge pull request #25781 from Microsoft/objectsAgainstArrays-3.0 Daniel Rosenwasser 2018-07-19 08:07:26 -07:00
  • 11284e7a98 Accepted baselines. Daniel Rosenwasser 2018-07-17 21:52:36 -07:00
  • f49679fff1 Elaborate on the first non-array type when object literals are compared against 'T | T[]'. Daniel Rosenwasser 2018-07-17 21:54:33 -07:00
  • 9d23080b58 Added test. Daniel Rosenwasser 2018-07-17 21:52:24 -07:00
  • 37277e86e6 Merge pull request #25752 from Microsoft/objectsAgainstArrays Daniel Rosenwasser 2018-07-18 15:29:47 -07:00
  • ac3f5b689c LEGO: Merge pull request 25780 csigs 2018-07-18 15:10:53 -07:00
  • 8a1ff48218 LEGO: check in for master to temporary branch. csigs 2018-07-18 22:10:28 +00:00
  • 33df18de0c Consistently use ScriptInfo for converting positions to Locations (#25623) (#25777) Andy 2018-07-18 14:49:06 -07:00
  • ed8b76424e add grammar check for labeled declaration (#25317) Wenlu Wang 2018-07-19 05:37:27 +08:00
  • 2701f785ed Consistently use ScriptInfo for converting positions to Locations (#25623) Andy 2018-07-18 13:02:38 -07:00
  • 53d240015c Don't bother trying to get the name of a default export (#25773) (#25776) Andy 2018-07-18 12:23:57 -07:00
  • 751f20e8bc Don't bother trying to get the name of a default export (#25773) Andy 2018-07-18 11:43:13 -07:00
  • c50a6f7389 Fix comment emit for namespaces & enums. Martin Probst 2018-07-18 16:45:53 +02:00
  • a7224ec612 Do not emit comments if container had a comment suppression. Martin Probst 2018-07-18 17:22:18 +02:00
  • 2529b864f4 Retain synthetic comments on classes and their properties. Martin Probst 2018-07-12 15:05:10 +02:00
  • 1bd79af760 Reduce duplication of addSyntheticComment. Martin Probst 2018-07-12 15:56:03 +02:00
  • 6f114a2c9b Fix comments for import and export declarations. Martin Probst 2018-07-12 13:11:06 +02:00
  • db888b8670 Retain synthetic comments on exported variables. Martin Probst 2018-07-12 12:23:24 +02:00
  • 806a5385cc Accepted baselines. Daniel Rosenwasser 2018-07-17 21:58:02 -07:00
  • 649f294413 Elaborate on the first non-array type when object literals are compared against 'T | T[]'. Daniel Rosenwasser 2018-07-17 21:54:33 -07:00
  • 36e26c1a35 Accepted baselines. Daniel Rosenwasser 2018-07-17 21:52:36 -07:00
  • bda32aeee2 Added test. Daniel Rosenwasser 2018-07-17 21:52:24 -07:00
  • 83b29eddd7 Fix formatting at trailing comma (#25706) (#25743) Andy 2018-07-17 17:05:49 -07:00
  • d92c26db69 Add test that getEditsForFileRename respects UserPreferences (#25745) Andy 2018-07-17 17:05:35 -07:00
  • 854462d383 Fix formatting at trailing comma (#25706) Andy 2018-07-17 15:21:35 -07:00
  • 6d8a5f6288 Fix invalid cast: JSDocSignature is not a SignatureDeclaration (#25734) Andy 2018-07-17 13:35:55 -07:00
  • d28fb65a1f Fix type of TypeParameterDeclaration#parent (#25737) Andy 2018-07-17 13:35:34 -07:00
  • 89f2af17f0 Avoid using old node in import fix to use namespace import (#25729) Andy 2018-07-17 13:34:56 -07:00
  • a87ed5335b Merge pull request #25735 from j-oliveras/Fix_25657 Mohamed Hegazy 2018-07-17 13:12:14 -07:00
  • 57a72f507d Merge pull request #25733 from mattmccutchen/issue-25683 Mohamed Hegazy 2018-07-17 12:51:19 -07:00
  • 7880a0736f Fixes 25657. Jakefile: make concatenateFiles third parameter optional. Jordi Oliveras Rovira 2018-07-17 20:28:57 +02:00
  • bd84179d82 Check for optional type parameters before issuing a "wrong number of type arguments" error on a function call. Matt McCutchen 2018-07-17 13:25:46 -04:00
  • 1edc975f15 Revert the revert of explicitly typed special assignments (#25727) Nathan Shively-Sanders 2018-07-17 10:02:51 -07:00
  • d9ed9177fe Update user baselines (#25718) TypeScript Bot 2018-07-17 08:37:44 -07:00
  • 204ce175dd Merge pull request #25612 from Microsoft/updateVersionTo3.1 Mohamed Hegazy 2018-07-16 14:33:25 -07:00
  • a3c6c717cd Update LKG Mohamed Hegazy 2018-07-16 14:19:45 -07:00
  • d71415a5e0 Merge pull request #25702 from Microsoft/mergeMaster-7-16 Mohamed Hegazy 2018-07-16 13:43:52 -07:00
  • 39a7891dc8 Merge branch 'master' into release-3.0 Mohamed Hegazy 2018-07-16 13:18:08 -07:00
  • 75930f87fe Merge pull request #25699 from Microsoft/revert-explicitly-typed-special-assignments Mohamed Hegazy 2018-07-16 13:15:06 -07:00
  • d690835cb9 Merge pull request #25698 from Microsoft/navigationBarUnrelatedGrandchildren Mohamed Hegazy 2018-07-16 13:02:35 -07:00
  • 16676f2707 Revert "Explicitly typed special assignments are context sensitive (#25619)" Nathan Shively-Sanders 2018-07-16 12:39:08 -07:00
  • 1038c76f88 navigationBar: Don't merge unrelated grandchildren Andy Hanson 2018-07-16 12:37:45 -07:00
  • ff8c30d636 Revert "Explicitly typed prototype assignments are context sensitive (#25688)" Nathan Shively-Sanders 2018-07-16 12:38:27 -07:00
  • 93ab352189 Merge pull request #25565 from Microsoft/popFirst Daniel Rosenwasser 2018-07-16 11:41:44 -07:00
  • afdd47c9ce Simplify rules for isControlFlowEndingStatement (#25693) Andy 2018-07-16 11:17:46 -07:00
  • 8ef146e658 Merge pull request #25656 from j-oliveras/Fix_25653 Mohamed Hegazy 2018-07-16 10:18:12 -07:00
  • 5b21cbc0c9 Explicitly typed prototype assignments are context sensitive (#25688) Nathan Shively-Sanders 2018-07-16 10:03:39 -07:00
  • cdfef4fa57 add use strict and simple parameter check 王文璐 2018-07-13 15:07:38 +08:00
  • bf567b8a40 Change getModifiedTime type Alexander T 2018-07-16 11:10:09 +03:00
  • 60986adee5 Merge pull request #25507 from ajafff/leftmost-expr-tagged-template Daniel Rosenwasser 2018-07-13 23:56:32 -07:00
  • e25a23bb3c Fix Buffer.from uses to handle node 5.4.1 bug (#25659) Andy 2018-07-13 17:08:25 -07:00
  • 7ad4fcf121 Merge pull request #25649 from Microsoft/jsonFilesOnCommandLine Sheetal Nandi 2018-07-13 16:24:42 -07:00
  • 4f411a8cce Change jsDocTagNames to lower case. Jordi Oliveras Rovira 2018-07-14 01:02:20 +02:00
  • 49ac60f286 Support resolveJsonModule option when files contain the json file Fixes #25636 Sheetal Nandi 2018-07-13 12:12:46 -07:00
  • 47e513e151 Merge pull request #25627 from Microsoft/preserveOutputInConfig Sheetal Nandi 2018-07-13 10:56:53 -07:00
  • 3f4412b173 getContainingList: Handle TypeAliasDeclaration (#25614) Andy 2018-07-13 10:30:22 -07:00
  • 27da9eab8d fixUnreachableCode: Don't delete whole block when non-first line is unreachable (#25625) Andy 2018-07-13 09:57:04 -07:00
  • 88c6ced3c6 indentMultilineCommentOrJsxText: Fix bug when 'parts' is empty (#25645) Andy 2018-07-13 09:56:21 -07:00
  • ca083809a4 Fix incorrect handling of preserveWatchOutput flag is in config file Fixes #25620 Sheetal Nandi 2018-07-12 18:24:34 -07:00
  • 1fb050bcca Don't report unused diagnostics when the unused node has a parse error (#25598) Andy 2018-07-12 17:24:59 -07:00
  • 32e60a9647 Explicitly typed special assignments are context sensitive (#25619) Nathan Shively-Sanders 2018-07-12 15:28:53 -07:00
  • f500289a44 Stricter test that JSDoc @type tag matches function signature (#25615) Andy 2018-07-12 14:02:02 -07:00
  • 50b75e7585 Optimize the deletion and calculation of bigger set of semantic diagnostics to be calculated Sheetal Nandi 2018-07-12 13:24:51 -07:00
  • 6a2ffec53d Merge pull request #25610 from RyanCavanaugh/buildOnWatchStartup Ryan Cavanaugh 2018-07-12 12:51:16 -07:00
  • 07174788a9 Update LKG Mohamed Hegazy 2018-07-12 12:29:45 -07:00