Skip to content
Snippets Groups Projects
Commit 8ba1296c authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1999-07-15 09:51:52 by simonmar]

A prime example of how an inconsistent .hi-boot file can really ruin
your day: the definition of CoreRules in CoreSyn.hi-boot was out of
sync with the real one, which meant that the compiler generated the
wrong code for a `seq` on something of type CoreRules.
parent 489143c4
No related merge requests found
......@@ -8,7 +8,7 @@ _declarations_
1 data Expr b ;
1 data CoreRule ;
1 type CoreRules = [CoreRule] ;
1 data CoreRules = Rules [CoreRule] VarSet.IdOrTyVarSet ;;
1 emptyCoreRules _:_ CoreRules ;;
1 seqRules _:_ CoreRules -> PrelBase.() ;;
1 isEmptyCoreRules _:_ CoreRules -> PrelBase.Bool ;;
......@@ -6,7 +6,7 @@ __export CoreSyn CoreExpr CoreRules CoreRule emptyCoreRules isEmptyCoreRules seq
1 data Expr b ;
1 data CoreRule ;
1 type CoreRules = [CoreRule] ;
1 data CoreRules = Rules [CoreRule] VarSet.IdOrTyVarSet ;
1 emptyCoreRules :: CoreRules ;
1 seqRules :: CoreRules -> PrelBase.Z0T ;
1 isEmptyCoreRules :: CoreRules -> PrelBase.Bool ;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment