[GHC] #9813: Error when reifying type constructor

GHC ghc-devs at haskell.org
Wed Nov 19 23:04:44 UTC 2014


#9813: Error when reifying type constructor
-------------------------------------+-------------------------------------
              Reporter:  owst        |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by owst):

 Hmm, I'm not particularly convinced. This extract:

     "The first declaration group in a module includes all top-level
 definitions down to but not including the first top-level declaration
 splice."

 seems to suggest that the declaration of Huh *is* included in the first
 declaration group, which is the immediately preceding declaration group to
 the splice. Am I misunderstanding something?

 The proposed "fix" seems somewhat spurious to me. Do you not agree that
 the original program seems reasonable?

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


More information about the ghc-tickets mailing list