File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -310,7 +310,11 @@ cvtLit l =
310
310
Literal. LitNullAddr -> Ast. MachNullAddr
311
311
Literal. LitFloat x -> Ast. MachFloat x
312
312
Literal. LitDouble x -> Ast. MachDouble x
313
+ #if MIN_VERSION_ghc(9,12,0)
314
+ Literal. LitLabel x _ -> Ast. MachLabel $ fastStringToText x
315
+ #else
313
316
Literal. LitLabel x _ _ -> Ast. MachLabel $ fastStringToText x
317
+ #endif
314
318
Literal. LitRubbish {} -> Ast. LitRubbish
315
319
#else
316
320
Literal. MachChar x -> Ast. MachChar x
Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ tested-with: GHC==7.10.3,
39
39
GHC== 9.4.8 ,
40
40
GHC== 9.6.6 ,
41
41
GHC== 9.8.4 ,
42
- GHC== 9.10.1
42
+ GHC== 9.10.1 ,
43
+ GHC== 9.12.1
43
44
build-type : Simple
44
45
45
46
source-repository head
@@ -50,12 +51,12 @@ library
50
51
exposed-modules : GhcDump.Convert, GhcDump.Ast, GhcDump.Plugin
51
52
ghc-options : -Wall
52
53
other-extensions : GeneralizedNewtypeDeriving
53
- build-depends : base >= 4.8 && < 4.21 ,
54
+ build-depends : base >= 4.8 && < 4.22 ,
54
55
bytestring >= 0.10 ,
55
56
text >= 1.2 && < 2.2 ,
56
57
filepath >= 1.4 ,
57
58
serialise >= 0.2 && < 0.3 ,
58
- ghc >= 7.10 && < 9.11 ,
59
+ ghc >= 7.10 && < 9.13 ,
59
60
directory < 1.4 ,
60
61
zstd >= 0.1 && < 0.2
61
62
default-language : Haskell2010
You can’t perform that action at this time.
0 commit comments