[GHC] #5610: Improve "Unacceptable argument type in foreign declaration" error message

GHC ghc-devs at haskell.org
Thu May 29 10:41:02 UTC 2014


#5610: Improve "Unacceptable argument type in foreign declaration" error message
-------------------------------------------------+-------------------------
        Reporter:  bgamari                       |            Owner:
            Type:  feature request               |           Status:  new
        Priority:  high                          |        Milestone:  7.4.1
       Component:  Compiler (Type checker)       |          Version:
      Resolution:                                |  7.6.1-rc1
Operating System:  Unknown/Multiple              |         Keywords:
 Type of failure:  Incorrect warning at          |     Architecture:
  compile-time                                   |  Unknown/Multiple
       Test Case:                                |       Difficulty:
        Blocking:                                |  Unknown
                                                 |       Blocked By:
                                                 |  Related Tickets:
-------------------------------------------------+-------------------------

Comment (by archblob):

 I have time to work on this and do a little refactoring to improve the
 error messages. The comment history is a little confusing and I'm not
 really sure that a better error message is the only thing requested here,
 and if the whole importing of constructors for foreign declarations story
 is also in need of fixing. It's the same story with #7243, if someone
 could make things clear for me I would be happy to start working.

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


More information about the ghc-tickets mailing list