Crash constructing a ClockTime too far into the future
Per summary. Type this in to GHCi:
show (TOD 12312323123 0)
and it crashes.
Similar bad behaviour with compiled code.
Ah, looks like it goes wrong when the bits wrap. (TOD 2147483647 0)
is OK, but (TOD 2147483648 0)
falls apart.
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |