elm-review/phantom-type-tests/NoElmJsonVisitorForModuleVisitorInProjectRule.txt
2020-04-01 20:13:45 +02:00

16 lines
461 B
Plaintext

-- TYPE MISMATCH ----------- ./NoElmJsonVisitorForModuleVisitorInProjectRule.elm
This function cannot handle the argument sent through the (|>) pipe:
24| schema
25| |> Rule.withElmJsonModuleVisitor (\_ () -> ())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The argument is:
Rule.ModuleRuleSchema {} ()
But (|>) is piping it to a function that expects:
Rule.ModuleRuleSchema { schemaState | canCollectProjectData : () } ()