We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd9e4b1 commit fea40bdCopy full SHA for fea40bd
changelog.d/1477
@@ -0,0 +1,9 @@
1
+synopsis: Enable FlexibleContexts in Servant.API.ContentTypes
2
+prs: #1477
3
+
4
+description: {
5
6
+Starting with GHC 9.2, UndecidableInstances no longer implies FlexibleContexts.
7
+Add this extension where it's needed to make compilation succeed.
8
9
+}
servant/src/Servant/API/ContentTypes.hs
@@ -2,6 +2,7 @@
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE OverloadedStrings #-}
0 commit comments