RE: Subject: Generic compilation warnings...

It should be ignored, but I've fixed it anyway. Thanks for mentioning it. Simon | -----Original Message----- | From: glasgow-haskell-users-bounces@haskell.org [mailto:glasgow-haskell-users- | bounces@haskell.org] On Behalf Of MR K P SCHUPKE | Sent: 17 February 2004 15:07 | To: glasgow-haskell-users@haskell.org | Subject: Subject: Generic compilation warnings... | | When deriving Data with all warnings enabled, for example compiling the | following line: | | data TestType = TestType Int deriving (Typeable,Data) | | ghc 6.2 gives the following warnings: | | Warning: Pattern match(es) are non-exhaustive | In a case alternative: | Patterns not matched: GHC.Base.I# #x with #x `notElem` [1#] | | Is there a problem with the 'derived' code, or should this warning be | ignored? | | regards, | Keean Schupke. | _______________________________________________ | Glasgow-haskell-users mailing list | Glasgow-haskell-users@haskell.org | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
participants (1)
-
Simon Peyton-Jones