Skip to content

Commit

Permalink
Make it build with ghc 9.10 (#1536)
Browse files Browse the repository at this point in the history
* Make it build with ghc 9.10

* CI: Add ghc-9.10 to the build matrix
  • Loading branch information
erikd authored Jul 19, 2024
1 parent a4b4890 commit 201a1b9
Show file tree
Hide file tree
Showing 61 changed files with 76 additions and 19 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
cabal: ["3.8"]
cabal: ["3.10"]
ghc:
- "8.4.4"
- "8.6.5"
Expand All @@ -54,9 +54,10 @@ jobs:
- "9.0.2"
- "9.2.7"
- "9.4.5"
- "9.6.5"
include:
- ghc: "9.6.1"
cabal: "3.10"
- ghc: "9.10.1"
cabal: "3.12"

env:
CONFIG: "--enable-tests --enable-benchmarks"
Expand Down
1 change: 1 addition & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ constraints:
-- These need hackage revisions but otherwise test fine in the repo
allow-newer:
-- https://github.com/haskellari/postgresql-simple/pull/95
-- https://github.com/haskellari/postgresql-simple/issues/139
, postgresql-simple:base
, postgresql-simple:template-haskell

Expand Down
1 change: 1 addition & 0 deletions persistent-mongoDB/Database/Persist/MongoDB.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -Wno-orphans #-}
{-# OPTIONS_GHC -fno-warn-deprecations #-} -- Pattern match 'PersistDbSpecific'
-- | Use persistent-mongodb the same way you would use other persistent
Expand Down
1 change: 1 addition & 0 deletions persistent-mongoDB/test/EmbedTestMongo.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# OPTIONS_GHC -Wno-unused-top-binds -Wno-orphans -O0 #-}
module EmbedTestMongo (specs) where
Expand Down
1 change: 1 addition & 0 deletions persistent-mongoDB/test/main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -Wno-unused-top-binds #-}

Expand Down
1 change: 1 addition & 0 deletions persistent-mysql/Database/Persist/MySQL.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE ViewPatterns #-}

{-# OPTIONS_GHC -fno-warn-deprecations #-} -- Pattern match 'PersistDbSpecific'
Expand Down
1 change: 1 addition & 0 deletions persistent-mysql/test/InsertDuplicateUpdate.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TypeOperators #-}

module InsertDuplicateUpdate where

Expand Down
1 change: 1 addition & 0 deletions persistent-mysql/test/main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}

{-# OPTIONS_GHC -Wno-unused-top-binds #-}
Expand Down
5 changes: 3 additions & 2 deletions persistent-postgresql/Database/Persist/Postgresql.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TupleSections #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE ViewPatterns #-}

#if MIN_VERSION_base(4,12,0)
Expand Down Expand Up @@ -107,7 +108,7 @@ import Data.Either (partitionEithers)
import Data.Function (on)
import Data.Int (Int64)
import Data.IORef
import Data.List (find, foldl', groupBy, sort)
import Data.List as List (find, foldl', groupBy, sort)
import qualified Data.List as List
import Data.List.NonEmpty (NonEmpty)
import qualified Data.Map as Map
Expand Down Expand Up @@ -845,7 +846,7 @@ getColumns getter def cols = do
refMap =
fmap (\cr -> (crTableName cr, crConstraintName cr))
$ Map.fromList
$ foldl' ref [] cols
$ List.foldl' ref [] cols
where
ref rs c =
maybe rs (\r -> (unFieldNameDB $ cName c, r) : rs) (cReference c)
Expand Down
1 change: 1 addition & 0 deletions persistent-postgresql/test/ArrayAggTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
{-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-} -- FIXME
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE DerivingStrategies #-}
Expand Down
1 change: 1 addition & 0 deletions persistent-postgresql/test/EquivalentTypeTestPostgres.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -Wno-unused-top-binds #-}

module EquivalentTypeTestPostgres (specs) where
Expand Down
1 change: 1 addition & 0 deletions persistent-postgresql/test/ImplicitUuidSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}

module ImplicitUuidSpec where
Expand Down
1 change: 1 addition & 0 deletions persistent-postgresql/test/PgIntervalTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE TypeOperators #-}

module PgIntervalTest where

Expand Down
1 change: 1 addition & 0 deletions persistent-postgresql/test/UpsertWhere.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}

module UpsertWhere where
Expand Down
1 change: 1 addition & 0 deletions persistent-postgresql/test/main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -Wno-unused-top-binds #-}

Expand Down
2 changes: 1 addition & 1 deletion persistent-redis/persistent-redis.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ library
, persistent >= 2.12 && < 3.0
, aeson >= 1.0
, binary >= 0.8 && < 0.9
, bytestring >= 0.10.8 && < 0.12
, bytestring >= 0.10.8 && < 0.13
, hedis >= 0.9
, http-api-data
, mtl >= 2.2.1 && < 2.4
Expand Down
1 change: 1 addition & 0 deletions persistent-redis/tests/basic-test.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE TypeSynonymInstances #-}
{-# LANGUAGE UndecidableInstances #-}
module Main where
Expand Down
1 change: 1 addition & 0 deletions persistent-sqlite/test/main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -fno-warn-unused-top-binds #-}

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/CompositeTest.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-} -- FIXME
{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}
module CompositeTest where
Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/CustomPersistFieldTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -Wno-unused-top-binds #-}
module CustomPersistFieldTest (specsWith, customFieldMigrate) where

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/CustomPrimaryKeyReferenceTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
-- This test is based on this issue: https://github.com/yesodweb/persistent/issues/421
-- The primary thing this is testing is the migration, thus the test code itself being mostly negligible.
Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/DataTypeTest.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -Wno-unused-top-binds #-}
module DataTypeTest
( specsWith
Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/EmbedOrderTest.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -Wno-unused-top-binds #-}
module EmbedOrderTest (specsWith, embedOrderMigrate, cleanDB) where
Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/EmbedTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -Wno-orphans -O0 #-}
{-# OPTIONS_GHC -Wno-unused-top-binds #-}
module EmbedTest (specsWith, cleanDB, embedMigrate) where
Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/EmptyEntityTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -Wno-unused-top-binds #-}
module EmptyEntityTest (specsWith, migration, cleanDB) where

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/EntityEmbedTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE TypeOperators #-}
module EntityEmbedTest where

-- because we are using a type alias we need to declare in a separate module
Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/EquivalentTypeTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -Wno-unused-top-binds #-}

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/ForeignKey.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE AllowAmbiguousTypes, GeneralizedNewtypeDeriving #-}
{-# LANGUAGE ScopedTypeVariables, TypeApplications, UndecidableInstances #-}
{-# LANGUAGE TypeOperators #-}

module ForeignKey where

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/GeneratedColumnTestSQL.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -Wno-unused-top-binds #-}
module GeneratedColumnTestSQL (specsWith) where
Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/HtmlTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE DataKinds, UndecidableInstances #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -Wno-unused-top-binds #-}
module HtmlTest (specsWith, cleanDB, htmlMigrate) where

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/Init.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{-# LANGUAGE GADTs #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/LargeNumberTest.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
module LargeNumberTest where

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/LongIdentifierTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
{-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
module LongIdentifierTest where

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/MaxLenTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -Wno-unused-top-binds #-}

module MaxLenTest (specsWith, maxlenMigrate) where
Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/MaybeFieldDefsTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -Wno-unused-top-binds #-}

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/MigrationColumnLengthTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
module MigrationColumnLengthTest where

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/MigrationIdempotencyTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
module MigrationIdempotencyTest where

Expand Down
2 changes: 1 addition & 1 deletion persistent-test/src/MigrationOnlyTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# LANGUAGE TypeApplications, UndecidableInstances #-}
{-# LANGUAGE TypeApplications, TypeOperators, UndecidableInstances #-}

{-# OPTIONS_GHC -Wno-unused-top-binds #-}

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/MigrationTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
module MigrationTest where

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/PersistUniqueTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
module PersistUniqueTest where

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/PersistentTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE RecordWildCards, UndecidableInstances #-}

module PersistentTest
Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/PersistentTestModels.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-} -- FIXME

{-# OPTIONS_GHC -ddump-splices #-}
Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/PersistentTestModelsImports.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# LANGUAGE TypeOperators #-}
{-# language UndecidableInstances #-}

-- | this just needs to compile
Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/PrimaryTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE DeriveGeneric #-}

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/RawSqlTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# language ScopedTypeVariables, DataKinds #-}
{-# LANGUAGE TypeOperators #-}

module RawSqlTest where

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/Recursive.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE TypeOperators #-}

{-# OPTIONS_GHC -Wno-unused-top-binds #-}

Expand Down
2 changes: 1 addition & 1 deletion persistent-test/src/RenameTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# LANGUAGE TypeApplications, UndecidableInstances #-}
{-# LANGUAGE TypeApplications, TypeOperators, UndecidableInstances #-}

module RenameTest where

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/SumTypeTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -Wno-unused-top-binds #-}
module SumTypeTest (specsWith, sumTypeMigrate) where
Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/TransactionLevelTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}

module TransactionLevelTest where
Expand Down
2 changes: 1 addition & 1 deletion persistent-test/src/TreeTest.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE RecordWildCards, UndecidableInstances #-}
{-# LANGUAGE RecordWildCards, TypeOperators, UndecidableInstances #-}

module TreeTest where

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/TypeLitFieldDefsTest.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -Wno-unused-top-binds #-}

Expand Down
1 change: 1 addition & 0 deletions persistent-test/src/UniqueTest.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
module UniqueTest where

Expand Down
1 change: 1 addition & 0 deletions persistent/Database/Persist/Class/PersistConfig.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE TypeOperators #-}

module Database.Persist.Class.PersistConfig
( PersistConfig (..)
Expand Down
Loading

0 comments on commit 201a1b9

Please sign in to comment.