Opened 14 years ago

Closed 14 years ago

Last modified 46 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: 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 14 years ago by simonpj

  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.