
#7044: reject reading rationals with exponent notation -------------------------------------+------------------------------------- Reporter: maeder | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.1 Component: Compiler | Version: 7.4.2 Resolution: | Keywords: Operating System: | Architecture: Unknown/Multiple Unknown/Multiple | Difficulty: Unknown Type of failure: | Blocked By: None/Unknown | Related Tickets: #5692,#7266 Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by thomie): * related: #5692 => #5692,#7266 Comment: Note that with #7266, since 7.8.1, the example for integers is accepted: {{{ $ ghci -XNumDecimals ... Prelude> 1e10 :: Int 10000000000 }}} Along the same lines, should `(1E10 :: Rational)` only be accepted when `-XNumDecimals` is set? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/7044#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler