[GHC] #10019: GHCi cannot reify a custom data constructor with Template Haskell on the first attempt

GHC ghc-devs at haskell.org
Wed Feb 11 11:16:32 UTC 2015


#10019: GHCi cannot reify a custom data constructor with Template Haskell on the
first attempt
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Template Haskell  |                 Version:  7.8.4
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"6ff3db92140e3ac8cbda50d1a4aab976350ac8c4/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="6ff3db92140e3ac8cbda50d1a4aab976350ac8c4"
 nameIsLocalOrFrom should include interactive modules

 The provoking cause was Trac #10019, but it revealed that
 nameIsLocalOrFrom
 should really include all interactive modules (ones from the 'interactive'
 package).  Previously we had some ad-hoc 'isInteractiveModule' tests with
 some (but not all) the calls to nameIsLocalOrFrom.

 See the new comments with Name.nameIsLocalOrFrom.
 }}}

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


More information about the ghc-tickets mailing list