Some warnings disappear with -Werror
With q.hs:
module Foo where
foo :: Int
foo = ceiling 6.3
I get:
$ ghc -fforce-recomp -c q.hs -Wall
q.hs:5:6:
Warning: Defaulting the following constraint(s) to type `Double'
`RealFrac t' arising from a use of `ceiling' at q.hs:5:6-16
In the expression: ceiling 6.3
In the definition of `foo': foo = ceiling 6.3
$ ghc -fforce-recomp -c q.hs -Wall -Werror
$
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.11 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |