-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIxes for upcoming ghc version #77
Conversation
hedgehog/src/Hedgehog/Internal/TH.hs
Outdated
@@ -13,6 +14,9 @@ import Hedgehog.Internal.Discovery | |||
import Hedgehog.Internal.Property | |||
|
|||
import Language.Haskell.TH | |||
#if MIN_VERSION_template_haskell(2, 12, 0) | |||
hiding (TExpQ) | |||
#endif | |||
import Language.Haskell.TH.Syntax |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was lazy on my part, they should have been explicit imports from the beginning (then CPP
wouldn't be required here.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can make all the imports qualified or explicit, either just for this file or for all files. Your choice.
hedgehog/src/Hedgehog/Internal/TH.hs
Outdated
import Language.Haskell.TH | ||
import Language.Haskell.TH.Syntax | ||
import Language.Haskell.TH (Exp (..), Q, TExp, location, runIO) | ||
import Language.Haskell.TH.Syntax (Loc (..), mkName, unTypeQ, unsafeTExpCoerce) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor nit, can you remove the space between Exp
and (..)
to match the style of the rest of the project (same for Loc
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
👍 after nitpick |
Fixed nitpicks, but I can't merge this. |
Rebased and merged 🌵 |
No description provided.