Make scoped type variables work for default methods
[ghc-hetmet.git] / compiler / typecheck / TcDeriv.lhs
index c31e6aa..1f4c476 100644 (file)
@@ -828,7 +828,7 @@ genInst spec
        -- *non-renamed* auxiliary bindings
        ; (rn_meth_binds, _fvs) <- discardWarnings $ 
                                   bindLocalNames (map varName tyvars)  $
-                                  rnMethodBinds clas_nm [] meth_binds
+                                  rnMethodBinds clas_nm (\n -> []) [] meth_binds
 
        -- Build the InstInfo
        ; return (InstInfo { iSpec = spec,