It should be ignored, but I've fixed it anyway.  Thanks for mentioning
it.

Simon

| -----Original Message-----
| From: [EMAIL PROTECTED]
[mailto:glasgow-haskell-users-
| [EMAIL PROTECTED] On Behalf Of MR K P SCHUPKE
| Sent: 17 February 2004 15:07
| To: [EMAIL PROTECTED]
| 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
| [EMAIL PROTECTED]
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to