X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Frename%2FRnSource.lhs;h=4bb9bd0bf06bf7854217ac456bce8a6774334901;hb=958924a2b338aebbcc8a88ba2cab511517762a19;hp=84ff47d948daf1f68f411f5c4416b031f00d8951;hpb=47d253ba58b8b7bbbdd2ad21b6aa7ab78f7aef53;p=ghc-hetmet.git diff --git a/ghc/compiler/rename/RnSource.lhs b/ghc/compiler/rename/RnSource.lhs index 84ff47d..4bb9bd0 100644 --- a/ghc/compiler/rename/RnSource.lhs +++ b/ghc/compiler/rename/RnSource.lhs @@ -504,7 +504,7 @@ rnTyClDecl (ClassDecl {tcdCtxt = context, tcdLName = cname, -- Check the signatures -- First process the class op sigs (op_sigs), then the fixity sigs (non_op_sigs). let - sig_rdr_names_w_locs = [op | L _ (Sig op _) <- sigs] + sig_rdr_names_w_locs = [op | L _ (TypeSig op _) <- sigs] in checkDupNames sig_doc sig_rdr_names_w_locs `thenM_` -- Typechecker is responsible for checking that we only