-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #115 from alanz/ghc-9.4
Support GHC 9.4.1 and GHC 9.4.2
- Loading branch information
Showing
26 changed files
with
692 additions
and
1,187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
name: ghc-exactprint | ||
version: 1.5.0 | ||
version: 1.6.0 | ||
synopsis: ExactPrint for GHC | ||
description: Using the API Annotations available from GHC 9.2.1, this | ||
library provides a means to round trip any code that can | ||
be compiled by GHC, currently excluding lhs files. | ||
. | ||
Note: requires GHC 9.2 or later. For GHC versions from | ||
7.10.2 to 9.0.* see this library with versions < 1.1 | ||
Note: requires GHC 9.4.*. For earlier GHC | ||
versions see lower version numbers. | ||
. | ||
|
||
license: BSD3 | ||
|
@@ -15,8 +15,8 @@ author: Alan Zimmerman, Matthew Pickering | |
maintainer: [email protected] | ||
category: Development | ||
build-type: Simple | ||
tested-with: GHC == 9.2.1 | ||
, GHC == 9.2.2 | ||
tested-with: GHC == 9.4.1 | ||
, GHC == 9.4.2 | ||
extra-source-files: ChangeLog | ||
tests/examples/failing/*.hs | ||
tests/examples/ghc710-only/*.hs | ||
|
@@ -29,6 +29,7 @@ extra-source-files: ChangeLog | |
tests/examples/ghc88/*.hs | ||
tests/examples/ghc90/*.hs | ||
tests/examples/ghc92/*.hs | ||
tests/examples/ghc94/*.hs | ||
tests/examples/pre-ghc810/*.hs | ||
tests/examples/pre-ghc86/*.hs | ||
tests/examples/pre-ghc90/*.hs | ||
|
@@ -72,15 +73,14 @@ library | |
-- other-extensions: | ||
GHC-Options: -Wall -Wredundant-constraints | ||
-- GHC-Options: -Weverything | ||
build-depends: base >=4.16 && <4.18 | ||
build-depends: base >=4.17 && <4.18 | ||
, bytestring >= 0.10.6 | ||
, containers >= 0.5 | ||
, ordered-containers | ||
, data-default | ||
, directory >= 1.2 | ||
, filepath >= 1.4 | ||
, ghc >= 9.2.1 | ||
, ghc-paths >= 0.1 | ||
, ghc >= 9.4.1 | ||
, mtl >= 2.2.1 | ||
, syb >= 0.5 | ||
, free >= 4.12 | ||
|
@@ -89,7 +89,7 @@ library | |
|
||
|
||
default-language: Haskell2010 | ||
if impl (ghc < 9.2) | ||
if impl (ghc < 9.4) | ||
buildable: False | ||
|
||
Test-Suite test | ||
|
@@ -107,8 +107,6 @@ Test-Suite test | |
, Test.Transform | ||
GHC-Options: -threaded -Wall -Wredundant-constraints | ||
Default-language: Haskell2010 | ||
if impl (ghc < 9.2) | ||
buildable: False | ||
Build-depends: HUnit >= 1.2 | ||
, base < 4.18 | ||
, bytestring | ||
|
@@ -118,7 +116,7 @@ Test-Suite test | |
, Diff | ||
, directory >= 1.2 | ||
, filepath >= 1.4 | ||
, ghc >= 9.2.1 | ||
, ghc >= 9.4.1 | ||
, ghc-paths >= 0.1 | ||
, mtl >= 2.2.1 | ||
, syb >= 0.5 | ||
|
@@ -127,10 +125,13 @@ Test-Suite test | |
-- for the lib only | ||
, fail >= 4.9 && <4.10 | ||
, ghc-boot | ||
, Cabal-syntax | ||
if flag (dev) | ||
build-depends: free | ||
else | ||
build-depends: ghc-exactprint | ||
if impl (ghc < 9.4) | ||
buildable: False | ||
|
||
executable roundtrip | ||
main-is: Roundtrip.hs | ||
|
@@ -139,7 +140,7 @@ executable roundtrip | |
Test.CommonUtils | ||
-- Test.Consistency | ||
default-language: Haskell2010 | ||
if impl (ghc >= 9.2) && flag (roundtrip) | ||
if impl (ghc >= 9.4) && flag (roundtrip) | ||
build-depends: | ||
HUnit | ||
, base | ||
|
@@ -149,7 +150,7 @@ executable roundtrip | |
, filepath | ||
, ghc | ||
, ghc-exactprint | ||
, ghc-paths | ||
-- , ghc-paths | ||
, syb | ||
, temporary | ||
, time | ||
|
@@ -186,8 +187,7 @@ executable prepare-hackage | |
, directory | ||
, filemanip | ||
, filepath | ||
, ghc >= 9.2.1 | ||
, ghc-paths >= 0.1 | ||
, ghc >= 9.4.1 | ||
, HUnit | ||
, text >= 1.2.2 | ||
, turtle >= 1.3.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.