[GHC] #12092: Wrong error message with TypeApplications

GHC ghc-devs at haskell.org
Fri May 20 18:04:47 UTC 2016


#12092: Wrong error message with TypeApplications
-------------------------------------+-------------------------------------
        Reporter:  kwf               |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.0.1
  checker)                           |
      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 goldfire):

 This is actually representative of a class of suboptimal errors that I've
 seen while working with GHC 8, in that an out-of-scope identifier can
 cause a cascade of obscure type errors. Perhaps we should prioritize out-
 of-scope identifiers above other type errors.

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


More information about the ghc-tickets mailing list