Skip to content

Commit c9eb550

Browse files
committed
Update tests
1 parent 88d8587 commit c9eb550

File tree

21 files changed

+39
-35
lines changed

21 files changed

+39
-35
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/.stack-work/
22
*~
3+
*.yaml.lock

ChangeLog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to the
77
[Haskell Package Versioning Policy](https://pvp.haskell.org/).
88

9+
## 0.1.7.0 - 2024-10-21
10+
11+
* Add support for GHC 9.12 (GHC 9.12.1 onward). See
12+
[#23](https://github.com/commercialhaskell/hi-file-parser/pull/23)
13+
914
## 0.1.6.0 - 2023-11-04
1015

1116
* Add further support for GHC 9.8 (GHC 9.8.1 onward). See

hi-file-parser.cabal

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
cabal-version: 1.12
22

3-
-- This file has been generated from package.yaml by hpack version 0.36.0.
3+
-- This file has been generated from package.yaml by hpack version 0.37.0.
44
--
55
-- see: https://github.com/sol/hpack
66

77
name: hi-file-parser
8-
version: 0.1.6.0
8+
version: 0.1.7.0
99
synopsis: Parser for GHC's hi files
1010
description: Please see the README on Github at <https://github.com/commercialhaskell/hi-file-parser/blob/master/README.md>
1111
category: Development
@@ -35,16 +35,20 @@ extra-source-files:
3535
test-files/iface/x64/ghc8107/X.hi
3636
test-files/iface/x64/ghc9002/Main.hi
3737
test-files/iface/x64/ghc9002/X.hi
38-
test-files/iface/x64/ghc9027/Main.hi
39-
test-files/iface/x64/ghc9027/X.hi
38+
test-files/iface/x64/ghc9028/Main.hi
39+
test-files/iface/x64/ghc9028/X.hi
4040
test-files/iface/x64/ghc9044/Main.hi
4141
test-files/iface/x64/ghc9044/X.hi
4242
test-files/iface/x64/ghc9047/Main.hi
4343
test-files/iface/x64/ghc9047/X.hi
44-
test-files/iface/x64/ghc9063/Main.hi
45-
test-files/iface/x64/ghc9063/X.hi
46-
test-files/iface/x64/ghc9081/Main.hi
47-
test-files/iface/x64/ghc9081/X.hi
44+
test-files/iface/x64/ghc9066/Main.hi
45+
test-files/iface/x64/ghc9066/X.hi
46+
test-files/iface/x64/ghc9083/Main.hi
47+
test-files/iface/x64/ghc9083/X.hi
48+
test-files/iface/x64/ghc9101/Main.hi
49+
test-files/iface/x64/ghc9101/X.hi
50+
test-files/iface/x64/ghc9120/Main.hi
51+
test-files/iface/x64/ghc9120/X.hi
4852

4953
source-repository head
5054
type: git

package.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: hi-file-parser
2-
version: 0.1.6.0
2+
version: 0.1.7.0
33
github: commercialhaskell/hi-file-parser
44
license: BSD3
55
author: Hussein Ait-Lahcen
@@ -24,16 +24,20 @@ extra-source-files:
2424
- test-files/iface/x64/ghc8107/X.hi
2525
- test-files/iface/x64/ghc9002/Main.hi
2626
- test-files/iface/x64/ghc9002/X.hi
27-
- test-files/iface/x64/ghc9027/Main.hi
28-
- test-files/iface/x64/ghc9027/X.hi
27+
- test-files/iface/x64/ghc9028/Main.hi
28+
- test-files/iface/x64/ghc9028/X.hi
2929
- test-files/iface/x64/ghc9044/Main.hi
3030
- test-files/iface/x64/ghc9044/X.hi
3131
- test-files/iface/x64/ghc9047/Main.hi
3232
- test-files/iface/x64/ghc9047/X.hi
33-
- test-files/iface/x64/ghc9063/Main.hi
34-
- test-files/iface/x64/ghc9063/X.hi
35-
- test-files/iface/x64/ghc9081/Main.hi
36-
- test-files/iface/x64/ghc9081/X.hi
33+
- test-files/iface/x64/ghc9066/Main.hi
34+
- test-files/iface/x64/ghc9066/X.hi
35+
- test-files/iface/x64/ghc9083/Main.hi
36+
- test-files/iface/x64/ghc9083/X.hi
37+
- test-files/iface/x64/ghc9101/Main.hi
38+
- test-files/iface/x64/ghc9101/X.hi
39+
- test-files/iface/x64/ghc9120/Main.hi
40+
- test-files/iface/x64/ghc9120/X.hi
3741

3842
# Metadata used when publishing your package
3943
synopsis: Parser for GHC's hi files

stack-ghc-9.8.2.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

stack-ghc-9.8.3.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# GHC 9.8.3
2+
snapshot: nightly-2024-10-21
3+
compiler: ghc-9.8.3

stack.yaml.lock

Lines changed: 0 additions & 12 deletions
This file was deleted.

test-files/iface/x64/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ command `nix-shell --pure --run "generate"`.
2020
~~~
2121
2222
3. Use the correct version of GHC to create the `*.hi` files in the correct
23-
directory (here, we assume that a Stack YAML file already exists in the
24-
repository root directory specifying the relevant snapshot):
23+
directory (here, we assume that a YAML file already exists in the repository
24+
root directory specifying the relevant snapshot):
2525
2626
~~~text
27-
stack --stack-yaml ..\..\..\stack-ghc-x.y.z.yaml ghc -- -fforce-recomp -hidir ghcxyyz Main.hs
27+
stack --snapshot ..\..\..\stack-ghc-x.y.z.yaml ghc -- -fforce-recomp -hidir ghcxyyz Main.hs
2828
~~~
2929
3030
4. Clean up the build artefacts that are not required, the `*.o` files and the

test-files/iface/x64/ghc9027/Main.hi

-1.31 KB
Binary file not shown.

test-files/iface/x64/ghc9028/Main.hi

1.28 KB
Binary file not shown.

0 commit comments

Comments
 (0)