Skip to content

Commit ba2200d

Browse files
committed
Don't enforce GHC2021 and GHC2024
1 parent a108018 commit ba2200d

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

core/streamly-core.cabal

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,14 @@ common default-extensions
221221
-- GHC2024 may include more extensions than we are actually using, see the
222222
-- full list below. We enable this to ensure that we are able to compile
223223
-- with this i.e. there is no interference by other extensions.
224-
if impl(ghc >= 9.10)
225-
default-language: GHC2024
226224

227-
if impl(ghc >= 9.2) && impl(ghc < 9.10)
228-
default-language: GHC2021
225+
-- Don't enforce GHC2024 and GHC2021 but We can support the build with them.
226+
227+
-- if impl(ghc >= 9.10)
228+
-- default-language: GHC2024
229+
230+
-- if impl(ghc >= 9.2) && impl(ghc < 9.10)
231+
-- default-language: GHC2021
229232

230233
if impl(ghc >= 8.10)
231234
default-extensions: StandaloneKindSignatures

streamly.cabal

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,14 @@ common default-extensions
300300
-- GHC2024 may include more extensions than we are actually using, see the
301301
-- full list below. We enable this to ensure that we are able to compile
302302
-- with this i.e. there is no interference by other extensions.
303-
if impl(ghc >= 9.10)
304-
default-language: GHC2024
305303

306-
if impl(ghc >= 9.2) && impl(ghc < 9.10)
307-
default-language: GHC2021
304+
-- Don't enforce GHC2024 and GHC2021 but We can support the build with them.
305+
306+
-- if impl(ghc >= 9.10)
307+
-- default-language: GHC2024
308+
309+
-- if impl(ghc >= 9.2) && impl(ghc < 9.10)
310+
-- default-language: GHC2021
308311

309312
if impl(ghc >= 8.10)
310313
default-extensions:

0 commit comments

Comments
 (0)