[GHC] #13598: role annotation for newtype (partially?) ignored?
GHC
ghc-devs at haskell.org
Thu Apr 20 15:35:45 UTC 2017
#13598: role annotation for newtype (partially?) ignored?
-------------------------------------+-------------------------------------
Reporter: edsko | Owner: (none)
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1-rc2
Resolution: invalid | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by facundo.dominguez):
goldfire, do you know why do we have this exceptional treatment for
newtypes?
It is not obvious what importance does having the data constructor in
scope, regarding the meaning of roles.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13598#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list