Commit Graph

1435 Commits

Author SHA1 Message Date
Jeroen Engels
22f74972e6 Update GitHub Actions workflow 2022-10-12 16:33:31 +02:00
Jeroen Engels
64fd5fd49b Bump elm-test to v2 2022-10-12 16:21:44 +02:00
Jeroen Engels
298f853555 2.9.1 2022-09-19 12:05:08 +02:00
Jeroen Engels
9289f0c065 Enable NoMissingTypeExpose 2022-09-19 12:04:30 +02:00
Jeroen Engels
2fb55010fc Backport rules from elm-review-common 2022-09-19 12:01:49 +02:00
Jeroen Engels
4dd3bb5dff Backport rules from elm-review-unused 2022-09-19 11:54:35 +02:00
Jeroen Engels
c4f775fddb Speed up Review.Test 2022-09-18 08:12:34 +02:00
Jeroen Engels
6e883bca87 Filter ignored files and set rule name before caching errors 2022-09-18 00:24:24 +02:00
Jeroen Engels
5e8386c4ce Add name to RunnableProjectVisitor 2022-09-18 00:19:20 +02:00
Jeroen Engels
3b4a0fb789 Speed up Fix.containRangeCollisions 2022-09-17 22:36:41 +02:00
Jeroen Engels
43835d67a3 Speed up errorsFromCache 2022-09-17 22:28:17 +02:00
Jeroen Engels
8d7d0e2bb2 Speed up registerImportExposed 2022-09-17 22:25:04 +02:00
Jeroen Engels
d889646337 Speed up exposedElements 2022-09-17 22:25:02 +02:00
Jeroen Engels
59bf89ceae Speed up computeModuleAndCacheResult 2022-09-17 22:18:27 +02:00
Jeroen Engels
5c5deabdcc Speed up checkForConfigurationErrors 2022-09-17 22:14:41 +02:00
Jeroen Engels
ba3c03576a Speed up createDeclarationAndExpressionVisitor 2022-09-17 22:02:27 +02:00
Jeroen Engels
409816a707 Speed up compactProjectDataVisitors 2022-09-17 22:00:40 +02:00
Jeroen Engels
c5e090df77 Speed up scope_expressionEnterVisitor 2022-09-17 21:59:31 +02:00
Jeroen Engels
12f6807ce1 Speed up registerExposedCustomType 2022-09-17 21:55:06 +02:00
Jeroen Engels
a57aa78fb0 Speed up expressionChildrenTCO 2022-09-17 21:53:55 +02:00
Jeroen Engels
e726935135 Speed up computeModules 2022-09-17 21:46:20 +02:00
Jeroen Engels
bba7e19bbd Always compute the folded context, but compare with it
Previously we were comparing with the list of project contexts, which
I think will either be very costly or be frail in practice (if the order
of the contexts change?)

Now we always compute the folded project context if we need to (for
the final evaluation or for extracting), and compare against that to
see if we need to recompute the final evaluation or extract.
2022-09-17 21:34:48 +02:00
Jeroen Engels
0ace703e8e Change the order of operations in computeModules 2022-09-17 21:34:48 +02:00
Jeroen Engels
32b38f3e82 Speed up removeErrorPhantomTypeFromVisitor 2022-09-17 21:34:48 +02:00
Jeroen Engels
d43f3b5a17 Speed up withFinalProjectEvaluation 2022-09-17 21:34:48 +02:00
Jeroen Engels
175588a996 Speed up runRules 2022-09-17 21:34:48 +02:00
Jeroen Engels
9bf2ad4127 Speed up checkForModulesThatFailedToParse 2022-09-17 21:34:48 +02:00
Jeroen Engels
c931c47c81 Speed up runReview 2022-09-17 21:34:48 +02:00
Jeroen Engels
0d944f581f Speed up review 2022-09-17 21:34:48 +02:00
Jeroen Engels
07767a2be5 Use less tuples in the internal ModuleNameLookupTable representation 2022-09-17 21:34:48 +02:00
Jeroen Engels
e836d48b4b Add patterns directly to the lookup table 2022-09-17 21:34:48 +02:00
Jeroen Engels
5e4665dcbd Speed up scope_declarationEnterVisitor 2022-09-17 21:34:48 +02:00
Jeroen Engels
e519b2b775 Simplify tuple argument 2022-09-17 21:34:48 +02:00
Jeroen Engels
927c9f1cce Rename makeFinalModuleEvaluation 2022-09-17 21:34:48 +02:00
Jeroen Engels
3e46869ebe Remove fastConcatMap 2022-09-17 21:34:48 +02:00
Jeroen Engels
2c6ddeacb8 Speed up collection modules names from patterns 2022-09-17 21:34:48 +02:00
Jeroen Engels
313e8e26da Speed up parameters 2022-09-17 21:34:48 +02:00
Jeroen Engels
36df458899 Speed up parameters 2022-09-17 21:34:48 +02:00
Jeroen Engels
65cf7e8f01 Speed up registerImportExposed 2022-09-17 21:34:48 +02:00
Jeroen Engels
371984d590 Speed up scope_dependenciesVisitor 2022-09-17 21:34:48 +02:00
Jeroen Engels
dc417cb770 Speed up final evaluations 2022-09-17 21:34:48 +02:00
Jeroen Engels
4d60f6e61c Speed up collectModuleNamesFromTypeAnnotationHelp 2022-09-17 21:34:48 +02:00
Jeroen Engels
5ffb9efa20 Speed up scope_expressionEnterVisitor 2022-09-17 21:34:48 +02:00
Jeroen Engels
b1d668fa86 Speed up scope_declarationEnterVisitor 2022-09-17 21:34:48 +02:00
Jeroen Engels
2829d5576d Speed up expressionChildren 2022-09-17 21:34:48 +02:00
Jeroen Engels
2332828230 Speed up errorsFromCache 2022-09-17 21:34:48 +02:00
Jeroen Engels
30b15b4eef Avoid unnecessary data constructors in registerImportExposed 2022-09-17 21:34:48 +02:00
Jeroen Engels
6695c3c26b Use faster list functions 2022-09-17 21:34:48 +02:00
Jeroen Engels
902fd381b6 Add faster list functions 2022-09-17 21:34:48 +02:00
Jeroen Engels
5b79818260 Use ModuleName where it makes sense 2022-09-17 21:34:48 +02:00