Crash constructing a ClockTime too far into the future
|Reported by:||wagstaff||Owned by:|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
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.
Change History (8)
comment:1 Changed 8 years ago by igloo
- Component changed from Compiler to libraries (other)
- difficulty set to Unknown
- Milestone set to 6.10.1
comment:3 Changed 8 years ago by simonmar
- Component changed from libraries (other) to libraries (old-time)
- Milestone changed from 6.10.1 to _|_