[GHC] #8278: Improve error message when the same type is imported from two different library versions

GHC ghc-devs at haskell.org
Fri Jan 10 08:52:02 UTC 2014


#8278: Improve error message when the same type is imported from two different
library versions
-------------------------------------------------+-------------------------
        Reporter:  Yuras                         |            Owner:
            Type:  feature request               |           Status:
        Priority:  normal                        |  closed
       Component:  Compiler                      |        Milestone:
      Resolution:  fixed                         |          Version:  7.6.3
Operating System:  Unknown/Multiple              |         Keywords:
 Type of failure:  None/Unknown                  |     Architecture:
       Test Case:                                |  Unknown/Multiple
  typecheck/should_fail/tcfail182                |       Difficulty:
        Blocking:                                |  Unknown
                                                 |       Blocked By:
                                                 |  Related Tickets:
-------------------------------------------------+-------------------------

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

 In [changeset:"322b48b92b93e1250b360d21873fa9f31c142403/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="322b48b92b93e1250b360d21873fa9f31c142403"
 Further improve the "same-occurrence" error messages (Trac #8278)

 Sometimes we actually have a good SrcSpan for the type constructor
 and reporting that is better than just reporting which module it
 was defined on
 }}}

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


More information about the ghc-tickets mailing list