summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-03-24 12:05:23 -0400
committerBen Gamari <ben@smart-cactus.org>2017-03-26 18:09:52 -0400
commitbc9f280acf82d34fea72199a34b00c414c3ef59e (patch)
tree60046c4deacc1dddddcfbc7c614f0f553749b70b /testsuite/tests/parser
parentff6ee998e06c74bf41841a9ccf2e55a722268e91 (diff)
downloadhaskell-bc9f280acf82d34fea72199a34b00c414c3ef59e.tar.gz
Eliminate word-size dependence in HsDumpAst output
Fixes DumpTypecheckedAst output on 32-bit platforms.
Diffstat (limited to 'testsuite/tests/parser')
-rw-r--r--testsuite/tests/parser/should_compile/DumpTypecheckedAst.stderr54
1 files changed, 27 insertions, 27 deletions
diff --git a/testsuite/tests/parser/should_compile/DumpTypecheckedAst.stderr b/testsuite/tests/parser/should_compile/DumpTypecheckedAst.stderr
index 3725b6f55e..4b10222262 100644
--- a/testsuite/tests/parser/should_compile/DumpTypecheckedAst.stderr
+++ b/testsuite/tests/parser/should_compile/DumpTypecheckedAst.stderr
@@ -21,14 +21,14 @@
({abstract:ConLike})))
({ <no location info> }
(HsLit
- (HsWordPrim
- (NoSourceText)
- (14073232900889011755))))))
+ {HsWord{64}Prim
+ (14073232900889011755)
+ (NoSourceText)}))))
({ <no location info> }
(HsLit
- (HsWordPrim
- (NoSourceText)
- (2739668351064589274))))))
+ {HsWord{64}Prim
+ (2739668351064589274)
+ (NoSourceText)}))))
({ <no location info> }
(HsVar
({ <no location info> }{Var: (main:DumpTypecheckedAst.$trModule{v} [lidx] :: ghc-prim:GHC.Types.Module{tc})})))))
@@ -45,9 +45,9 @@
(NoSourceText) "Peano")))))))))
({ <no location info> }
(HsLit
- (HsIntPrim
- (SourceText "0")
- (0))))))
+ {HsInt{64}Prim
+ (0)
+ (SourceText "0")}))))
({ <no location info> }
(HsVar
({ <no location info> }{Var: (ghc-prim:GHC.Types.krep$*{v} [gid] :: ghc-prim:GHC.Types.KindRep{tc})})))))
@@ -71,14 +71,14 @@
({abstract:ConLike})))
({ <no location info> }
(HsLit
- (HsWordPrim
- (NoSourceText)
- (13760111476013868540))))))
+ {HsWord{64}Prim
+ (13760111476013868540)
+ (NoSourceText)}))))
({ <no location info> }
(HsLit
- (HsWordPrim
- (NoSourceText)
- (12314848029315386153))))))
+ {HsWord{64}Prim
+ (12314848029315386153)
+ (NoSourceText)}))))
({ <no location info> }
(HsVar
({ <no location info> }{Var: (main:DumpTypecheckedAst.$trModule{v} [lidx] :: ghc-prim:GHC.Types.Module{tc})})))))
@@ -95,9 +95,9 @@
(NoSourceText) "'Zero")))))))))
({ <no location info> }
(HsLit
- (HsIntPrim
- (SourceText "0")
- (0))))))
+ {HsInt{64}Prim
+ (0)
+ (SourceText "0")}))))
({ <no location info> }
(HsVar
({ <no location info> }{Var: ($krep{v} [lid] :: ghc-prim:GHC.Types.KindRep{tc})})))))
@@ -121,14 +121,14 @@
({abstract:ConLike})))
({ <no location info> }
(HsLit
- (HsWordPrim
- (NoSourceText)
- (1143980031331647856))))))
+ {HsWord{64}Prim
+ (1143980031331647856)
+ (NoSourceText)}))))
({ <no location info> }
(HsLit
- (HsWordPrim
- (NoSourceText)
- (14802086722010293686))))))
+ {HsWord{64}Prim
+ (14802086722010293686)
+ (NoSourceText)}))))
({ <no location info> }
(HsVar
({ <no location info> }{Var: (main:DumpTypecheckedAst.$trModule{v} [lidx] :: ghc-prim:GHC.Types.Module{tc})})))))
@@ -145,9 +145,9 @@
(NoSourceText) "'Succ")))))))))
({ <no location info> }
(HsLit
- (HsIntPrim
- (SourceText "0")
- (0))))))
+ {HsInt{64}Prim
+ (0)
+ (SourceText "0")}))))
({ <no location info> }
(HsVar
({ <no location info> }{Var: ($krep{v} [lid] :: ghc-prim:GHC.Types.KindRep{tc})})))))