:browse prints record selectors too many times
Kazu Yamamoto points out that this module
module Test (R(..)) where
data R = R { x :: Char, y :: Int, z :: Float }
when loaded into GHCi 6.12, and ":browse", displays this (yes, all four lines):
data R = R {x :: Char, y :: Int, z :: Float}
data R = R {x :: Char, ...}
data R = R {..., y :: Int, ...}
data R = R {..., z :: Float}
The problem is that GHCi is printing a line for each record selector individually.
Trac metadata
Trac field | Value |
---|---|
Version | 6.12.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | kazu@iij.ad.jp |
Operating system | |
Architecture |