[GHC] #1586: trace output ordering in HEAD incorrectly

GHC trac at galois.com
Sat Aug 4 16:20:33 EDT 2007


#1586: trace output ordering  in HEAD incorrectly
----------------------------------+-----------------------------------------
    Reporter:  iampure at gmail.com  |        Owner:         
        Type:  bug                |       Status:  closed 
    Priority:  normal             |    Milestone:         
   Component:  Compiler           |      Version:  6.7    
    Severity:  normal             |   Resolution:  invalid
    Keywords:                     |   Difficulty:  Unknown
          Os:  Unknown            |     Testcase:         
Architecture:  Unknown            |  
----------------------------------+-----------------------------------------
Changes (by igloo):

  * resolution:  => invalid
  * status:  new => closed

Comment:

 It's generally unwise to rely on the order that trace's will be evaluated,
 and thus their output displayed. It could be that due to lazy evaluation
 the traces are necessarily evaluated in the opposite order to that which
 you expect, or if the strictness analyser has determined that the result
 is strict in both of them then it would not be a bug for either order to
 happen.

 Without a testcase I can't say more.


 Thanks

 Ian

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1586>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list