@@ -859,6 +859,10 @@ type HasServerArrowTypeError a b =
859 ':$$: 'ShowType b
859 ':$$: 'ShowType b
861-- Erroring instances for 'HasServer' for unknown API combinators
861-- Erroring instances for 'HasServer' for unknown API combinators
863+-- XXX: This omits the @context@ parameter, e.g.:
865+-- "There is no instance for HasServer (Bool :> …)". Do we care ?
862instance {-# OVERLAPPABLE #-} TypeError (NoInstanceForSub HasServer ty) => HasServer (ty :> sub) context
866instance {-# OVERLAPPABLE #-} TypeError (NoInstanceForSub HasServer ty) => HasServer (ty :> sub) context
864instance {-# OVERLAPPABLE #-} TypeError (NoInstanceFor (HasServer api context)) => HasServer api context
868instance {-# OVERLAPPABLE #-} TypeError (NoInstanceFor (HasServer api context)) => HasServer api context