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

GHC ghc-devs at haskell.org
Wed Dec 11 14:30:47 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):

 .. and the same for type synonyms ..

 Location of `Foo` in

 {{{
 type Foo = Int
 }}}

 is reported as the entire synonym declaration (1-14 instead of 6-8).

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


More information about the ghc-tickets mailing list