Skip to content

Commit

Permalink
Fix for GHC 7.10 part 1: replace PostTcType
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Ward committed Mar 26, 2015
1 parent 25479ad commit dec9235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Info.hs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ everythingStaged stage k z f x
| (const False `extQ` postTcType `extQ` fixity `extQ` nameSet) x = z
| otherwise = foldl k (f x) (gmapQ (everythingStaged stage k z f) x)
where nameSet = const (stage `elem` [Parser,TypeChecker]) :: NameSet.NameSet -> Bool
postTcType = const (stage<TypeChecker) :: GHC.PostTcType -> Bool
postTcType = const (stage<TypeChecker) :: GHC.PostTc GHC.Id GHC.Type -> Bool
fixity = const (stage<Renamer) :: GHC.Fixity -> Bool

------------------------------------------------------------------------------
Expand Down

0 comments on commit dec9235

Please sign in to comment.