[GHC] #6139: Data.Time.Day read instance too liberal
GHC
cvs-ghc at haskell.org
Mon Jun 4 02:02:19 CEST 2012
#6139: Data.Time.Day read instance too liberal
-----------------------------------------+----------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries/base
Version: 7.0.3 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Incorrect result at runtime | Testcase:
Blockedby: | Blocking:
Related: |
-----------------------------------------+----------------------------------
Prelude Data.Time> read "0001-22-01" :: Day
0001-12-01
Obviously, this should be a parse error.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6139>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list