[GHC] #8612: Error message "not in scope" on missing 'deriving'

GHC ghc-devs at haskell.org
Fri Dec 13 20:07:23 UTC 2013


#8612: Error message "not in scope" on missing 'deriving'
-------------------------------------+------------------------------------
        Reporter:  mirpa             |            Owner:
            Type:  bug               |           Status:  closed
        Priority:  low               |        Milestone:
       Component:  Compiler          |          Version:  7.4.1
      Resolution:  fixed             |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------
Changes (by monoidal):

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


Comment:

 In HEAD you get a bit better message

 {{{
 Der.hs:3:12: Record syntax is illegal here: {a :: Int}

 Der.hs:3:14: Not in scope: ‛a’
 }}}

 It's not ideal, but IMO it gives a good hint that the specific part
 `a::Int` is not the issue.

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


More information about the ghc-tickets mailing list