Commit Graph

17 Commits

Author SHA1 Message Date
Jeroen Engels
772ca5e423 Move ProjectRuleSchema's phantom type to be the first type variable 2020-04-01 20:13:45 +02:00
Jeroen Engels
07e211f076 Rename configuration to schemaState 2020-04-01 20:13:45 +02:00
Jeroen Engels
912ed3ded4 Make phantom type tests work when run from any directory 2020-04-01 20:13:45 +02:00
Jeroen Engels
9a983f1190 Rename NotNeeded phantom type to Forbidden 2020-03-21 22:16:30 +01:00
Jeroen Engels
ae27c82ce6 Make it impossible to have a project rule without visitors 2020-03-21 14:15:28 +01:00
Jeroen Engels
a2037ea973 Require calling withModuleContext after withModuleVisitor 2020-03-19 23:26:54 +01:00
Jeroen Engels
abac9224bc Make it not possible to use withModuleVisitor after withModuleContext 2020-03-19 23:15:48 +01:00
Jeroen Engels
06da24e1aa Make it not possible to use withModuleContext without withModuleVisitor 2020-03-19 23:06:04 +01:00
Jeroen Engels
a83c0a4dfe Make it not possible to use withModuleContext twice 2020-03-19 23:06:04 +01:00
Jeroen Engels
e841c6756e Add command to generate the compilation results of phantom type tests 2020-03-19 23:06:04 +01:00
Jeroen Engels
3e69688bd5 Add tests for phantom type tests to make sure we don't start allowing some constructs 2020-03-19 23:00:40 +01:00
Jeroen Engels
5cfd68fb6b Rename withModuleDependenciesVisitor to withDependenciesModuleVisitor 2020-03-02 22:53:37 +01:00
Jeroen Engels
8406c29fd3 Rename withModuleElmJsonVisitor to withElmJsonModuleVisitor 2020-03-02 22:51:25 +01:00
Jeroen Engels
89a3a3d1b4 Rename withDependenciesVisitor to withModuleDependenciesVisitor 2020-01-27 17:18:06 +01:00
Jeroen Engels
0cada05fe3 Rename withElmJsonVisitor to withModuleElmJsonVisitor 2020-01-27 17:18:06 +01:00
Jeroen Engels
d397c57189 Remove withInitialContext and change the rule schema's phantom types 2020-01-20 08:34:52 +01:00
Jeroen Engels
75f2fb4f74 Add regression test for withInitialContext 2020-01-19 12:04:17 +01:00