Skip to content

Commit abf3fb9

Browse files
committed
Temporary Workaround regression in ghc 9.12.3-rc1
1 parent 52167b8 commit abf3fb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/route/src/Obelisk/Route.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,12 +1121,12 @@ instance FiniteSome Void1
11211121

11221122
void1Encoder :: (Applicative check, MonadError Text parse) => Encoder check parse (Some Void1) a
11231123
void1Encoder = Encoder $ pure $ EncoderImpl
1124-
{ _encoderImpl_encode = foldSome $ \case
1124+
{ _encoderImpl_encode = foldSome $ case f of {}
11251125
, _encoderImpl_decode = \_ -> throwError "void1Encoder: can't decode anything"
11261126
}
11271127

11281128
instance GShow Void1 where
1129-
gshowsPrec _ = \case {}
1129+
gshowsPrec _ f = case f of {}
11301130

11311131
-- | Encode a 'PathQuery' as 'Text'
11321132
pathQueryEncoder :: (Applicative check, Applicative parse) => Encoder check parse PathQuery Text

0 commit comments

Comments
 (0)