[GHC] #13598: role annotation for newtype (partially?) ignored?

GHC ghc-devs at haskell.org
Thu Apr 20 15:28:01 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:                    |
-------------------------------------+-------------------------------------
Changes (by edsko):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Hmmm, okay. So that explains why I had to import some constructors into my
 code in various places to make type errors mysteriously disappear.. even
 though I was not using those constructors anywhere in that code... Fair
 enough. I did and do find that very counter-intuitive but if that's how
 it's supposed to work.. :)

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13598#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list