Tue Sep 15 08:03:53 PDT 2009  Thomas Schilling <[email protected]>
  * Put context information for warnings in errMsgExtraInfo.
  
  For type checker warnings, the context information ("In the expression
  ...") was simply appended to the main message while for proper errors
  they live in errMsgExtraInfo.  This allows GHC API clients to drop
  that information if not needed.

    M ./compiler/main/ErrUtils.lhs -1 +4
    M ./compiler/typecheck/TcRnMonad.lhs -9 +10
    M ./compiler/typecheck/TcSplice.lhs -1 +1

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090915150353-7c5c6-f8d2b0f7e08d414a259e7292c1a8112866fc82cd.gz

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to