[GHC] #9518: Improve error message for unacceptable role annotations
GHC
ghc-devs at haskell.org
Thu Aug 28 02:14:32 UTC 2014
#9518: Improve error message for unacceptable role annotations
-------------------------------------+-------------------------------------
Reporter: dmcclean | Owner:
Type: feature request | Status: new
Priority: low | Milestone:
Component: Compiler | Version: 7.8.3
Keywords: | Operating System:
Architecture: Unknown/Multiple | Unknown/Multiple
Difficulty: Unknown | Type of failure:
Blocked By: | None/Unknown
Related Tickets: | Test Case:
| Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
It would be nice if this message:
{{{
Role mismatch on variable a:
Annotation says representational but role nominal is required
while checking a role annotation for `Point'
}}}
Could be extended to say where the requirement arises.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9518>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list