trace output ordering in HEAD incorrectly
I don't have a test case, but it appears that the Debug.Trace.trace output is ordered incorrectly. By incorrectly, I mean that it does not follow evaluation order. I suspect it will come up in every non-trivial use of it. In GHC-6.6.1 the output order was correct (modulo that the size of output was not equal during runs (but there is another report for that already)).
In a program I have
runFoo $ do
() <- trace "hi" (return ())
() <- trace "there" (return ())
return ()
prints:
there
hi
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.7 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Unknown |
| Architecture | Unknown |