darcs patch: Fix warnings (part 1)
Twan van Laarhoven
twanvl at gmail.com
Sat Jan 26 21:06:05 EST 2008
Hi,
I have been fixing warnings in the GHC source code. I have NOT fixed 'incomplete
pattern match' warnings in these patches, instead files with warnings of that
type now say
{-# OPTIONS -fno-warn-incomplete-patterns #-}
instead of
{-# OPTIONS -w #-}
Many of those warnings are not real errors, but some notable things have come up:
- hsSyn/HsPat.lhs:415:4:
In the definition of `go1': Patterns not matched: QuasiQuotePat _
- hsSyn/HsDecls.lhs:714:0:
In the definition of `pprConDecl':
Patterns not matched:
ConDecl _ _ _ _ (InfixCon _ _) (ResTyGADT _) _
- types/Unify: unused binding of 'subst1' (see other message)
Twan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warnings2.patch.gz
Type: application/x-gzip
Size: 52934 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/cvs-ghc/attachments/20080127/ea58e199/warnings2.patch-0001.bin
More information about the Cvs-ghc
mailing list