[GHC] #10027: Importing constructor of associated data type fails

GHC ghc-devs at haskell.org
Wed Jan 28 12:23:00 UTC 2015


#10027: Importing constructor of associated data type fails
-------------------------------------+-------------------------------------
        Reporter:  lspitzner         |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.8.4
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |  constructor import associated data
 Type of failure:  None/Unknown      |  type
      Blocked By:                    |            Architecture:
 Related Tickets:                    |  Unknown/Multiple
                                     |               Test Case:
                                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by goldfire):

 Personally, I would find it surprising if module B ''did'' export D. I
 don't consider writing an instance of a thing as something that will add
 the thing to an implicit export list. I'm OK with being surprised in this
 way for the sake of practicality, but I would find it surprising.

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


More information about the ghc-tickets mailing list