You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The servant-elm-0.7.2 test suite appears to fail when compiled against servant-0.18.2 (et al. Servant 0.18.x supporting libraries).
The errors are as follows:
/var/stackage/work/unpack-dir/unpacked/servant-elm-0.7.2-4b10f1da950fea1a0bcaf74a9e68dc0a1c01
36e8c09a136b9c3f6c89e09ad21a/test/Common.hs:41:13: error:
• Expected kind ‘[*] -> * -> *’, but ‘PostNoContent’ has kind ‘*’
• In the second argument of ‘(:>)’, namely
‘PostNoContent '[JSON] ()’
In the second argument of ‘(:>)’, namely
‘ReqBody '[JSON] Book :> PostNoContent '[JSON] ()’
In the first argument of ‘(:<|>)’, namely
‘"books" :> ReqBody '[JSON] Book :> PostNoContent '[JSON] ()’
|
41 | :> PostNoContent '[JSON] ()
|
/var/stackage/work/unpack-dir/unpacked/servant-elm-0.7.2-4b10f1da950fea1a0bcaf74a9e68dc0a1c01
36e8c09a136b9c3f6c89e09ad21a/test/Common.hs:43:13: error:
• Expected kind ‘[*] -> * -> *’, but ‘GetNoContent’ has kind ‘*’
• In the second argument of ‘(:>)’, namely
‘GetNoContent '[JSON] ()’
In the first argument of ‘(:<|>)’, namely
‘"nothing" :> GetNoContent '[JSON] ()’
In the second argument of ‘(:<|>)’, namely
‘"nothing" :> GetNoContent '[JSON] ()
:<|>
"nothing" :> Put '[JSON] ()
:<|>
"with-a-header"
:>
Header "Cookie" String
:>
Header "myStringHeader" String
:>
Header "MyIntHeader" Int
:>
Header' '[Required] "MyRequiredStringHeader" String
:>
Header' '[Required] "MyRequiredIntHeader" Int :> Get '[JSON] String
:<|>
"with-a-response-header"
:> Get '[JSON] (Headers '[Header "myResponse" String] String)’
|
43 | :> GetNoContent '[JSON] ()
| ^^^^^^^^^^^^^^^^^^^^^^^
The text was updated successfully, but these errors were encountered:
jkachmar
added a commit
to commercialhaskell/stackage
that referenced
this issue
Apr 22, 2021
The
servant-elm-0.7.2
test suite appears to fail when compiled againstservant-0.18.2
(et al. Servant 0.18.x supporting libraries).The errors are as follows:
The text was updated successfully, but these errors were encountered: