#4015: :browse prints record selectors too many times
---------------------------------+------------------------------------------
    Reporter:  simonpj           |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  Compiler          |      Version:  6.12.2      
    Keywords:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Testcase:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
       Patch:  0                 |  
---------------------------------+------------------------------------------
 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4015>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to