Skip to content
Snippets Groups Projects
Commit b84fff3d authored by Richard Eisenberg's avatar Richard Eisenberg
Browse files

Fix location of spliced-in role annotations.

parent 40673406
No related branches found
No related tags found
No related merge requests found
......@@ -271,7 +271,7 @@ cvtDec (ClosedTypeFamilyD tc tyvars mkind eqns)
cvtDec (TH.RoleAnnotD tc roles)
= do { tc' <- tconNameL tc
; let roles' = map (noLoc . cvtRole) roles
; return $ noLoc $ Hs.RoleAnnotD (RoleAnnotDecl tc' roles') }
; returnL $ Hs.RoleAnnotD (RoleAnnotDecl tc' roles') }
----------------
cvtTySynEqn :: Located RdrName -> TySynEqn -> CvtM (LTyFamInstEqn RdrName)
cvtTySynEqn tc (TySynEqn lhs rhs)
......
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