[GHC] #5624: Delay Errors Until Runtime

GHC cvs-ghc at haskell.org
Fri Nov 11 13:16:31 CET 2011


#5624: Delay Errors Until Runtime
---------------------------------+------------------------------------------
    Reporter:  atnnn             |        Owner:  atnnn       
        Type:  feature request   |       Status:  new         
    Priority:  high              |    Milestone:  7.6.1       
   Component:  Compiler          |      Version:  7.3         
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonmar):

 I think I agree: the approach here is a clever hack, but will almost
 certainly lead to problems in the long run as we'll have to introduce
 special cases to fix the many quirks that will undoubtedly arise.  It
 would be better to do it right, but doing it right means doing something
 special for every different kind of error (e.g. Simon's plan handles
 unification errors, but not renamer errors or parse errors).

 I have more thoughts about this, but rather than pen a long message it's
 probably best if Simon and I talk about it next week.

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



More information about the Glasgow-haskell-bugs mailing list