[GHC] #8607: Invalid location reported for type constructors

GHC ghc-devs at haskell.org
Wed Dec 11 14:10:48 UTC 2013


#8607: Invalid location reported for type constructors
-------------------------------------+------------------------------------
        Reporter:  edsko             |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.7
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by edsko):

 The same problem goes for class definitions; the location of `C` in

 {{{
 class C a where
   f :: a -> a
 }}}

 is reported as the span of the entire class, rather than the span of just
 the identifier.

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


More information about the ghc-tickets mailing list