Fix build error on GHC 8.6

This commit is contained in:
Gaël Deest 2021-11-17 15:29:22 +01:00
parent 42b7d0eb9b
commit 67a37dc3f6
1 changed files with 1 additions and 1 deletions

View File

@ -614,7 +614,7 @@ simpleToLink _ toA _ = toLink toA (Proxy :: Proxy sub)
-- Erroring instance for 'HasLink' when a combinator is not fully applied
instance TypeError (PartialApplication HasLink arr) => HasLink ((arr :: a -> b) :> sub)
where
type MkLink (arr :> _) _ = TypeError (PartialApplication HasLink arr)
type MkLink (arr :> sub) _ = TypeError (PartialApplication HasLink arr)
toLink = error "unreachable"
-- Erroring instances for 'HasLink' for unknown API combinators