Skip to content

Some Hlinting and updates for ghc 8.6.3#89

Open
jrp2014 wants to merge 2 commits intohdevtools:masterfrom
jrp2014:master
Open

Some Hlinting and updates for ghc 8.6.3#89
jrp2014 wants to merge 2 commits intohdevtools:masterfrom
jrp2014:master

Conversation

@jrp2014
Copy link
Contributor

@jrp2014 jrp2014 commented Jan 13, 2019

No description provided.

#if __GLASGOW_HASKELL__ >= 708
getTypeLHsBind _ (GHC.L spn GHC.FunBind{GHC.fun_matches = grp}) = return $ Just (spn, HsExpr.mg_res_ty grp)
getTypeLHsBind _ (GHC.L spn GHC.FunBind{GHC.fun_matches = grp}) =
return $ Just (spn, HsExpr.mg_res_ty $ HsExpr.mg_ext grp)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HsExpr.mg_ext seems to not be available in older versions of ghc used in some stackage snapshots (see travis for details)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm ... not sure how to fix this. Perhaps the 708 should be increased on line 128?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants