From d24c513418682b16ce2d40092f549f57f222d7f0 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Wed, 17 Jul 2024 18:18:41 +1000 Subject: [PATCH] wip --- persistent-mysql/Database/Persist/MySQL.hs | 1 + persistent-test/src/CustomPersistFieldTest.hs | 1 + persistent-test/src/EntityEmbedTest.hs | 1 + persistent-test/src/EquivalentTypeTest.hs | 1 + persistent-test/src/GeneratedColumnTestSQL.hs | 1 + persistent-test/src/HtmlTest.hs | 1 + persistent-test/src/Init.hs | 1 + 7 files changed, 7 insertions(+) diff --git a/persistent-mysql/Database/Persist/MySQL.hs b/persistent-mysql/Database/Persist/MySQL.hs index 73f0a1ded..249b739e7 100644 --- a/persistent-mysql/Database/Persist/MySQL.hs +++ b/persistent-mysql/Database/Persist/MySQL.hs @@ -7,6 +7,7 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE PatternSynonyms #-} {-# LANGUAGE TypeFamilies #-} +{-# LANGUAGE TypeOperators #-} {-# LANGUAGE ViewPatterns #-} {-# OPTIONS_GHC -fno-warn-deprecations #-} -- Pattern match 'PersistDbSpecific' diff --git a/persistent-test/src/CustomPersistFieldTest.hs b/persistent-test/src/CustomPersistFieldTest.hs index 211524924..630bf5bfa 100644 --- a/persistent-test/src/CustomPersistFieldTest.hs +++ b/persistent-test/src/CustomPersistFieldTest.hs @@ -1,4 +1,5 @@ {-# LANGUAGE UndecidableInstances #-} +{-# LANGUAGE TypeOperators #-} {-# OPTIONS_GHC -Wno-unused-top-binds #-} module CustomPersistFieldTest (specsWith, customFieldMigrate) where diff --git a/persistent-test/src/EntityEmbedTest.hs b/persistent-test/src/EntityEmbedTest.hs index f29ad9622..683459b5e 100644 --- a/persistent-test/src/EntityEmbedTest.hs +++ b/persistent-test/src/EntityEmbedTest.hs @@ -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 diff --git a/persistent-test/src/EquivalentTypeTest.hs b/persistent-test/src/EquivalentTypeTest.hs index b2267c690..abb246ea8 100644 --- a/persistent-test/src/EquivalentTypeTest.hs +++ b/persistent-test/src/EquivalentTypeTest.hs @@ -1,4 +1,5 @@ {-# LANGUAGE GeneralizedNewtypeDeriving #-} +{-# LANGUAGE TypeOperators #-} {-# LANGUAGE UndecidableInstances #-} {-# OPTIONS_GHC -Wno-unused-top-binds #-} diff --git a/persistent-test/src/GeneratedColumnTestSQL.hs b/persistent-test/src/GeneratedColumnTestSQL.hs index 2eac96d5a..f18701f47 100644 --- a/persistent-test/src/GeneratedColumnTestSQL.hs +++ b/persistent-test/src/GeneratedColumnTestSQL.hs @@ -1,4 +1,5 @@ {-# LANGUAGE RecordWildCards #-} +{-# LANGUAGE TypeOperators #-} {-# LANGUAGE UndecidableInstances #-} {-# OPTIONS_GHC -Wno-unused-top-binds #-} module GeneratedColumnTestSQL (specsWith) where diff --git a/persistent-test/src/HtmlTest.hs b/persistent-test/src/HtmlTest.hs index f5f36ff1b..7430c164b 100644 --- a/persistent-test/src/HtmlTest.hs +++ b/persistent-test/src/HtmlTest.hs @@ -1,4 +1,5 @@ {-# LANGUAGE DataKinds, UndecidableInstances #-} +{-# LANGUAGE TypeOperators #-} {-# OPTIONS_GHC -Wno-unused-top-binds #-} module HtmlTest (specsWith, cleanDB, htmlMigrate) where diff --git a/persistent-test/src/Init.hs b/persistent-test/src/Init.hs index fce045e60..7e6047864 100644 --- a/persistent-test/src/Init.hs +++ b/persistent-test/src/Init.hs @@ -3,6 +3,7 @@ {-# LANGUAGE GADTs #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE TypeApplications #-} +{-# LANGUAGE TypeOperators #-} {-# LANGUAGE UndecidableInstances #-} {-# OPTIONS_GHC -fno-warn-orphans #-}