Skip to content

Commit 7a770b5

Browse files
author
Gaël Deest
authored
Merge pull request #1514 from guibou/fix_ghc92_build
Fix GHC 9.2 build
2 parents 75db4a5 + 22d5790 commit 7a770b5

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
@@ -649,7 +649,7 @@ simpleToLink _ toA _ = toLink toA (Proxy :: Proxy sub)
649649
-- Erroring instance for 'HasLink' when a combinator is not fully applied
650650
instance TypeError (PartialApplication HasLink arr) => HasLink ((arr :: a -> b) :> sub)
651651
where
652-
type MkLink (arr :> sub) _ = TypeError (PartialApplication HasLink arr)
652+
type MkLink (arr :> sub) _ = TypeError (PartialApplication (HasLink :: * -> Constraint) arr)
653653
toLink = error "unreachable"
654654

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

0 commit comments

Comments
 (0)