[GHC] #10249: Suboptimal error message with deferred type errors

GHC ghc-devs at haskell.org
Mon Apr 6 18:29:06 UTC 2015


#10249: Suboptimal error message with deferred type errors
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                   Owner:
            Type:  feature request   |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  GHCi              |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Yes, that's true. Generally, GHC checks exactly what the user writes, but
 for GHCi it actually checks a synthesised expression wrapping what the
 user writes.

 This would not be difficult to fix; perhaps a bit fiddly. I'm happy to
 advise.

 Simon

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


More information about the ghc-tickets mailing list