Skip to content

Commit 86ad89b

Browse files
authored
Merge pull request #722 from RyanGlScott/master
Make servant-foreign build on GHC 8.2
2 parents f05b394 + ec4573d commit 86ad89b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servant-foreign/src/Servant/Foreign/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ instance (HasForeign lang ftype a, HasForeign lang ftype b)
189189

190190
instance (KnownSymbol sym, HasForeignType lang ftype t, HasForeign lang ftype api)
191191
=> HasForeign lang ftype (Capture sym t :> api) where
192-
type Foreign ftype (Capture sym a :> api) = Foreign ftype api
192+
type Foreign ftype (Capture sym t :> api) = Foreign ftype api
193193

194194
foreignFor lang Proxy Proxy req =
195195
foreignFor lang Proxy (Proxy :: Proxy api) $

0 commit comments

Comments
 (0)