summaryrefslogtreecommitdiff
path: root/ghc/compiler/rename/RnSource.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/compiler/rename/RnSource.lhs')
-rw-r--r--ghc/compiler/rename/RnSource.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/compiler/rename/RnSource.lhs b/ghc/compiler/rename/RnSource.lhs
index 693c6000fb..09979d448f 100644
--- a/ghc/compiler/rename/RnSource.lhs
+++ b/ghc/compiler/rename/RnSource.lhs
@@ -109,7 +109,7 @@ rnDecl (TyClD tycl_decl)
rnDecl (InstD inst)
= rnInstDecl inst `thenRn` \ new_inst ->
rnInstBinds inst new_inst `thenRn` \ (new_inst', fvs) ->
- returnRn (InstD new_inst, fvs `plusFV` instDeclFVs new_inst')
+ returnRn (InstD new_inst', fvs `plusFV` instDeclFVs new_inst')
rnDecl (RuleD rule)
| isIfaceRuleDecl rule