diff options
| author | Gabor Greif <ggreif@gmail.com> | 2015-02-18 18:18:49 +0100 |
|---|---|---|
| committer | Gabor Greif <ggreif@gmail.com> | 2015-02-18 18:18:49 +0100 |
| commit | 35d464bf54373cbe37e1e3310cc6a95f63f257f0 (patch) | |
| tree | 454eb64efd1f6880e5b85f3e54c0af65c5d58cf2 | |
| parent | 32d1a8a5817de8a444d7f50c0a2aebb6a9174326 (diff) | |
| download | haskell-35d464bf54373cbe37e1e3310cc6a95f63f257f0.tar.gz | |
Typo in function name
| -rw-r--r-- | compiler/typecheck/TcInstDcls.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/typecheck/TcInstDcls.hs b/compiler/typecheck/TcInstDcls.hs index 44441011c4..3d9e425c4b 100644 --- a/compiler/typecheck/TcInstDcls.hs +++ b/compiler/typecheck/TcInstDcls.hs @@ -1412,7 +1412,7 @@ tcMethods dfun_id clas tyvars dfun_ev_vars inst_tys -- Check if one of the minimal complete definitions is satisfied checkMinimalDefinition = whenIsJust (isUnsatisfied methodExists (classMinimalDef clas)) $ - warnUnsatisifiedMinimalDefinition + warnUnsatisfiedMinimalDefinition where methodExists meth = isJust (findMethodBind meth binds) @@ -1616,8 +1616,8 @@ warnMissingMethodOrAT what name (ptext (sLit "No explicit") <+> text what <+> ptext (sLit "or default declaration for") <+> quotes (ppr name)) } -warnUnsatisifiedMinimalDefinition :: ClassMinimalDef -> TcM () -warnUnsatisifiedMinimalDefinition mindef +warnUnsatisfiedMinimalDefinition :: ClassMinimalDef -> TcM () +warnUnsatisfiedMinimalDefinition mindef = do { warn <- woptM Opt_WarnMissingMethods ; warnTc warn message } |
