Commit 600b36a1 authored by Krzysztof Gogolewski's avatar Krzysztof Gogolewski


parent 71e4950a
......@@ -545,7 +545,7 @@ You can see if one constructor is infix with this clearer code :-))))))))))
We don't mind the @nilDataCon@ because it doesn't change the way to
print the messsage, we are searching only for things like: @[1,2,3]@,
print the message, we are searching only for things like: @[1,2,3]@,
not @x:xs@ ....
In @reconstruct_pat@ we want to ``undo'' the work
......@@ -140,7 +140,7 @@ warnAboutIdentities dflags (Var conv_fn) type_of_conv
, arg_ty `eqType` res_ty -- So we are converting ty -> ty
= warnDs (vcat [ ptext (sLit "Call of") <+> ppr conv_fn <+> dcolon <+> ppr type_of_conv
, nest 2 $ ptext (sLit "can probably be omitted")
, parens (ptext (sLit "Use -fno-warn-identities to suppress this messsage)"))
, parens (ptext (sLit "Use -fno-warn-identities to suppress this message"))
warnAboutIdentities _ _ _ = return ()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment