Skip to content

Commit 67a37dc

Browse files
author
Gaël Deest
committed
Fix build error on GHC 8.6
1 parent 42b7d0e commit 67a37dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servant/src/Servant/Links.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ simpleToLink _ toA _ = toLink toA (Proxy :: Proxy sub)
614614
-- Erroring instance for 'HasLink' when a combinator is not fully applied
615615
instance TypeError (PartialApplication HasLink arr) => HasLink ((arr :: a -> b) :> sub)
616616
where
617-
type MkLink (arr :> _) _ = TypeError (PartialApplication HasLink arr)
617+
type MkLink (arr :> sub) _ = TypeError (PartialApplication HasLink arr)
618618
toLink = error "unreachable"
619619

620620
-- Erroring instances for 'HasLink' for unknown API combinators

0 commit comments

Comments
 (0)