Ticket #4015 (closed bug: fixed)
:browse prints record selectors too many times
| Reported by: | simonpj | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.12.3 |
| Component: | Compiler | Version: | 6.12.2 |
| Keywords: | Cc: | kazu@… | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | |
| Test Case: | ghci/scripts/T4015 | Blocked By: | |
| Blocking: | Related Tickets: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
