Commit Graph
100 Commits
Author SHA1 Message Date
Daniel Rosenwasser 79c72751df Update baselines. 2021-01-10 15:58:58 -08:00
Daniel Rosenwasser 16031bc429 Update LKG. 2021-01-10 15:58:40 -08:00
Daniel 40c3ffec91 Add assertion. 2020-06-30 01:33:32 -07:00
Daniel 915d4fc060 Accepted baselines. 2020-06-30 01:33:28 -07:00
Daniel ef40ed1ee6 Exempt bare 'boolean's from the check. 2020-06-30 01:12:45 -07:00
Daniel d3d282cb45 Less code 2020-05-22 01:49:26 +00:00
Daniel a008792d01 Updated baselines. 2020-05-22 01:02:37 +00:00
Daniel afe90f1314 Feed generalized source type to elaboration. 2020-05-22 01:02:27 +00:00
Daniel b38b0c70b3 Updated baselines. 2020-05-22 00:40:43 +00:00
Daniel a04ecb592c Check constraints deeply on singleton types. 2020-05-22 00:40:28 +00:00
Daniel 8cf2466110 Merge remote-tracking branch 'origin/master' into literal-to-primitive-relation-reporting 2020-05-22 00:09:52 +00:00
Daniel 355c28ea70 Update baselines. 2020-05-11 22:17:15 +00:00
Daniel e9867a7353 Add and use the 'intersperse' helper function. 2020-05-11 22:17:01 +00:00
Daniel 74d6d04d70 Don't add duplicates of JSDoc comments. 2020-05-11 21:39:47 +00:00
Daniel 1450908e5c Added tests for union types with identical doc comments. 2020-05-11 21:36:43 +00:00
Daniel Rosenwasser 8976ac96aa Update LKG. 2020-01-21 12:35:42 -08:00
Daniel Rosenwasser ff4fa1feb9 Cleaned up refactoring names, descriptions. 2020-01-02 16:32:06 -08:00
Daniel Rosenwasser ad0f0064ce Remove refactoring from template expression to string concatenation. 2020-01-02 16:12:44 -08:00
Daniel Rosenwasser 88795e2a2e Fixed lints. 2019-12-20 17:04:47 -08:00
Daniel Rosenwasser 35a3a5fbaf Merge remote-tracking branch 'origin' into convert-to-template 2019-12-20 16:46:37 -08:00
Daniel Rosenwasser def1e7163d Accepted baselines. 2019-10-21 15:11:16 -07:00
Daniel Rosenwasser 1b0fca5df5 Update version to 3.8. 2019-10-21 14:51:21 -07:00
Daniel Rosenwasser b167012561 Extend the correct tsconfig.json. 2019-10-21 10:46:41 -07:00
Daniel Rosenwasser fbc070f328 Extend tsconfig.release.json from the sibling tsconfig.json to ensure files aren't forgotten. 2019-10-18 16:12:31 -07:00
Daniel Rosenwasser 218bbcd669 Don't immediately return in getMemberSymbols. 2019-10-18 15:23:56 -07:00
Daniel Rosenwasser 9b6a027167 Perform checks prior to calling addTypeProperties. 2019-10-18 13:03:25 -07:00
Daniel Rosenwasser 30cca63eaf Accepted baselines. 2019-10-17 17:45:25 -07:00
Daniel Rosenwasser 85e09134be Update comment. 2019-10-17 17:45:13 -07:00
Daniel Rosenwasser 3d7451c08f Accepted baselines. 2019-10-17 17:41:49 -07:00
Daniel Rosenwasser 15445e156a Add user preference to the protocol. 2019-10-17 17:41:49 -07:00
Daniel Rosenwasser 73e9715da5 Added option 'includeAutomaticOptionalChainCompletions' to disable '?.' completions. 2019-10-17 17:41:49 -07:00
Daniel Rosenwasser d2fab65df6 Added test. 2019-10-17 17:04:45 -07:00
Daniel Rosenwasser e4d77f8857 Update baselines. 2019-10-01 12:30:37 -07:00
Daniel Rosenwasser 933065b69c Change error codes. 2019-10-01 12:18:01 -07:00
Daniel Rosenwasser 8dec7a2763 Accepted baselines. 2019-08-14 17:22:15 -07:00
Daniel Rosenwasser 1ad443ed25 A bit of cleanup. 2019-08-14 16:48:24 -07:00
Daniel Rosenwasser 465bcc6da0 Accepted baselines. 2019-08-14 16:16:58 -07:00
Daniel Rosenwasser 3d11930453 Get base primitive type for unary operators. 2019-08-14 16:16:43 -07:00
Daniel Rosenwasser cdd6b418d8 Accepted baselines. 2019-08-14 16:02:53 -07:00
Daniel Rosenwasser c555d4df89 Report on base primitives for certain operations. 2019-08-14 16:02:35 -07:00
Daniel Rosenwasser 56370e8247 Updated test-cost file for laptops. 2019-06-19 14:38:42 -07:00
Daniel Rosenwasser c5c869f673 Accepted baselines 2019-05-29 10:20:49 -07:00
Daniel Rosenwasser 94f19c7edd Update version to 3.6.0. 2019-05-29 08:59:44 -07:00
Daniel Rosenwasser 81d3595058 Accepted baselines. 2019-05-21 15:22:03 -07:00
Daniel Rosenwasser 3f5912995b Add related span to original declaration on disagreeing variable/property types. 2019-05-21 14:48:15 -07:00
Daniel Rosenwasser b5ffc26b95 Don't use 'any[]' - return type are bivariant when relating to overloads. 2019-05-01 16:10:24 -07:00
Daniel Rosenwasser d7434a01b2 Accepted baselines. 2019-05-01 16:07:29 -07:00
Daniel Rosenwasser d9e82466e2 Change Omit back to using Pick<T, Exclude<keyof T, K>> in order to maintain modifiers. 2019-05-01 14:00:11 -07:00
Daniel Rosenwasser d22cb0c56b Accepted baselines. 2019-05-01 13:57:53 -07:00
Daniel Rosenwasser 60962a8709 Added test. 2019-05-01 13:57:47 -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
Daniel Rosenwasser 71af02f745 Updated annoying 'globalTypes' list. 2019-04-04 10:16:43 -07:00
Daniel Rosenwasser e8feaf9a3e Accepted baselines. 2019-04-04 10:09:55 -07:00
Daniel Rosenwasser 1dae8fcc30 Fix tests to be non-global. 2019-04-04 10:02:46 -07:00
Daniel Rosenwasser b8f6ae4e25 Accepted baselines. 2019-04-03 13:00:58 -07:00
Daniel Rosenwasser 24b1ec8681 Update version to '3.5.0'. 2019-04-03 13:00:47 -07:00
Daniel Rosenwasser 081637f2f8 Accepted baselines. 2019-03-27 23:42:20 -07:00
Daniel Rosenwasser 74d3e2a3ef Generalize to intersection types when looking for discriminants in error reporting. 2019-03-27 23:41:43 -07:00
Daniel Rosenwasser 69affb7f28 Accepted baselines. 2019-03-27 23:32:00 -07:00
Daniel Rosenwasser 6a244b9058 Added test. 2019-03-27 23:29:22 -07:00
Daniel Rosenwasser e383b0d4f7 Accepted baselines. 2019-02-28 15:33:03 -08:00
Daniel Rosenwasser 00bf32ca39 Update LKG. 2019-02-28 14:35:03 -08:00
Daniel Rosenwasser 7a391fe613 Fix .npmignore by adding the .git file (as opposed to just a directory, which is not the case for git worktrees) and the .failed-tests file. 2019-02-24 23:05:48 -08:00
Daniel Rosenwasser d6bb3ee64c Accepted baselines. 2019-02-21 11:02:21 -08:00
Daniel Rosenwasser 4a256abc8a Give a related span pointing to the implementation signature when reporting incompatibility. 2019-02-21 10:51:18 -08:00
Daniel Rosenwasser cee933ff09 Be more specific in errors. 2019-02-21 10:50:14 -08:00
Daniel Rosenwasser e35ab96c0b Accepted baselines. 2019-02-05 18:01:41 -08:00
Daniel Rosenwasser 3382a2ea54 Give good error messages on more types. 2019-02-05 18:01:41 -08:00
Daniel Rosenwasser 341f9cf1d6 Added test. 2019-02-05 18:01:41 -08:00
Daniel Rosenwasser c899c2ee00 Bump version to 3.4. 2019-01-28 12:36:24 -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
Daniel Rosenwasser caa7441b1f Accepted baselines. 2018-12-11 16:56:45 -08:00
Daniel Rosenwasser 2999a1eb47 Merge remote-tracking branch 'origin/master' into numericPropertyAccess 2018-12-11 16:52:23 -08:00
Daniel Rosenwasser 9a6d2ee664 Accepted baselines. 2018-12-10 22:21:15 -08:00
Daniel Rosenwasser 2e9be8c05b Added more tests, including some in 'removeComments' mode. 2018-12-10 22:21:15 -08:00
Daniel Rosenwasser 28c3663e62 Don't use 'fill' in 'fill'. 2018-12-10 21:20:32 -08:00
Daniel Rosenwasser d1cafe7751 Always generate lowercase locale names so 'LKG's produce identical results on case-sensitive file systems. 2018-12-10 14:19:53 -08:00
Daniel Rosenwasser 75c51f50bb Accepted baselines. 2018-12-06 18:07:10 -08:00
Daniel Rosenwasser 6fcc815aa8 Check if the expression had any trailing comments. 2018-12-06 18:06:59 -08:00
Daniel Rosenwasser 87e45f9e04 Accepted baselines. 2018-12-05 15:02:15 -08:00
Daniel Rosenwasser 3fe72631ce Added test case for trivia preceding dot in numeric LHS in property accesses. 2018-12-05 15:02:00 -08:00
Daniel Rosenwasser 8e98943cbd Accepted baselines. 2018-11-30 16:42:30 -08:00
Daniel Rosenwasser 6d2c0037fc Only count singleton unit types. 2018-11-30 16:42:14 -08:00
Daniel Rosenwasser d35cfc13cf Merge remote-tracking branch 'origin/master' into singlyOverlappyTypes 2018-11-30 15:46:56 -08:00
Daniel Rosenwasser ac11aa345e Accepted baselines. 2018-11-30 15:16:26 -08:00
Daniel Rosenwasser ba5ba41876 Types are only overlappy if their index types are single 'keyof's or literal types. 2018-11-30 15:09:02 -08:00
Daniel Rosenwasser 448baaeb2f Accepted baselines. 2018-11-30 15:07:50 -08:00
Daniel Rosenwasser b44ee8ef4b Added tests for types with overlap across a single property name. 2018-11-30 14:59:43 -08:00
Daniel Rosenwasser 8ddb2b61d2 Update LKG. 2018-11-20 12:28:45 -05:00
Daniel Rosenwasser ece46113a5 Bump to 3.3. 2018-11-20 01:52:42 -05:00
Daniel Rosenwasser 5a4378ef1e Accepted baselines. 2018-11-16 15:59:14 -08:00
Daniel Rosenwasser b7da98b1c3 Use intersection of member names to find largest overlap. 2018-11-16 15:59:00 -08:00
Daniel Rosenwasser 6ae288fbb3 Merge remote-tracking branch 'origin/master' into overlappyTypes 2018-11-16 15:02:13 -08:00
Daniel Rosenwasser 40bd7c89ab Update LKG. 2018-11-12 16:27:38 -08:00
Daniel Rosenwasser 624fdcb0bd git rm file; not sure how we missed that. 2018-11-12 15:30:06 -08:00