Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/9fc03d37c67098ab9dfa9403ff2c94e640074a76

>---------------------------------------------------------------

commit 9fc03d37c67098ab9dfa9403ff2c94e640074a76
Author: Simon Peyton Jones <simo...@microsoft.com>
Date:   Tue Oct 4 09:26:11 2011 +0100

    Change error message slightly
    in response to Neil's suggestion on Trac #4877

>---------------------------------------------------------------

 compiler/rename/RnExpr.lhs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/compiler/rename/RnExpr.lhs b/compiler/rename/RnExpr.lhs
index 8478db0..d6bc2b1 100644
--- a/compiler/rename/RnExpr.lhs
+++ b/compiler/rename/RnExpr.lhs
@@ -147,7 +147,7 @@ rnExpr (OpApp e1 (L op_loc (HsVar op_rdr)) _ e2)
        ; final_e <- mkOpAppRn e1' (L op_loc op') fixity e2'
        ; return (final_e, fv_e1 `plusFV` fv_op `plusFV` fv_e2) }
 rnExpr (OpApp _ other_op _ _)
-  = failWith (vcat [ hang (ptext (sLit "Operator application with a 
non-variable operator:"))
+  = failWith (vcat [ hang (ptext (sLit "Infix application with a non-variable 
operator:"))
                         2 (ppr other_op)
                    , ptext (sLit "(Probably resulting from a Template Haskell 
splice)") ])
 



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to