[GHC] #9173: Better type error messages
GHC
ghc-devs at haskell.org
Mon Aug 1 00:54:29 UTC 2016
#9173: Better type error messages
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Incorrect | Unknown/Multiple
warning at compile-time | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by sgillespie):
I'd like to have a look. What is the proposed message? Should we use the
original message below?
{{{
Foo.hs:2:20
inferred: "Just 5" has type "Maybe a0"
expected: second argument of "($)" must have type "Int"
in the expression: addThree $ Just 5
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9173#comment:20>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list