[GHC] #14798: Error message suggests applying (non-existant) function to more arguments
GHC
ghc-devs at haskell.org
Mon Feb 12 17:29:38 UTC 2018
#14798: Error message suggests applying (non-existant) function to more arguments
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.5
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Poor/confusing | Unknown/Multiple
error message | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by goldfire):
This makes sense to me: the user might have written something like `pow 5
== 10` where `pow :: Int -> Int -> Int`. Of course, the error message is
silly in your case, but I think it would be useful in the common case and
is phrased appropriately so be wrong sometimes.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14798#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list