mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-09-11 16:16:09 +03:00
16 lines
461 B
Plaintext
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 : () } ()
|
|
|