Opened 16 years ago

Closed 16 years ago

Last modified 48 years ago

#553 closed bug (Fixed)

Bad message for duplicate arguments

Reported by: rrt Owned by: nobody
Priority: normal Milestone:
Component: None Version: None
Keywords: Cc:
Operating System: Architecture:
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


The following program:

Module main where
  f x x = 3

gives the following error with GHC/HEAD:

    Conflicting definitions for `x'
    in in a pattern match

(as well as the obvious error because there's no main 

Note: 1. This error message is confusing (according to 

2. "in in".

Change History (1)

comment:1 Changed 16 years ago by simonpj

Status: assignedclosed
Note: See TracTickets for help on using tickets.