Skip to content

Commit aaf2190

Browse files
authored
Merge pull request #76 from tweag/fix-ci
Fix CI errors due to warnings
2 parents b7d64d5 + e5eec8d commit aaf2190

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Capability/Sink/Internal/Strategies.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ deriving via ((t2 :: (* -> *) -> * -> *) ((t1 :: (* -> *) -> * -> *) m))
113113

114114
-- | Convert the state using safe coercion.
115115
instance
116-
( Coercible from to, HasSink tag from m
117-
, forall x y. Coercible x y => Coercible (m x) (m y) )
116+
( Coercible from to, HasSink tag from m )
118117
=> HasSink tag to (Coerce to m)
119118
where
120119
yield_ tag = coerce @(from -> m ()) $ yield_ tag

src/Capability/Writer.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
{-# LANGUAGE UnboxedTuples #-}
3838
{-# LANGUAGE UndecidableInstances #-}
3939

40-
{-# OPTIONS_GHC -Wno-simplifiable-class-constraints #-}
40+
{-# OPTIONS_GHC -Wno-simplifiable-class-constraints -Wno-deprecations #-}
4141

4242
module Capability.Writer
4343
( -- * Interface

0 commit comments

Comments
 (0)