[ ghc-Bugs-431424 ] Bad message for duplicate arguments
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 08 Jun 2001 09:00:40 -0700
Bugs item #431424, was updated on 2001-06-08 09:00
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=431424&group_id=8032
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Reuben Thomas (rrt)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bad message for duplicate arguments
Initial Comment:
The following program:
Module main where
f x x = 3
gives the following error with GHC/HEAD:
baderr.hs:3:
Conflicting definitions for `x'
in in a pattern match
(as well as the obvious error because there's no main
function)
Note: 1. This error message is confusing (according to
SPJ).
2. "in in".
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=431424&group_id=8032