Bad message for duplicate arguments
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".
Trac metadata
Trac field |
Value |
Version |
None |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedFixed |
Component |
None |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|