-fwarn-unused-binds misses a use
George Russell
ger at informatik.uni-bremen.de
Tue Aug 31 06:12:13 EDT 2004
# ghc Unused.hs -fwarn-unused-binds -fglasgow-exts
Unused.hs:10: Warning: Defined but not used: Dummy
-------------- next part --------------
module Unused(Foo(..),ff) where
class Foo (v :: (* -> *) -> *) where
f :: v a -> Int
ff :: Foo v => v a -> Int
ff (_ :: (v :: (* -> *) -> *) a) = (f (error "bar" :: v Dummy))
data Dummy x = Dummy x
More information about the Glasgow-haskell-bugs
mailing list