git.haskell.org
/
ghc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f73d42f
)
Typo in variable name, no functional change
author
Gabor Greif
<ggreif@gmail.com>
Tue, 10 Jun 2014 23:00:58 +0000
(
01:00
+0200)
committer
Gabor Greif
<ggreif@gmail.com>
Wed, 11 Jun 2014 18:22:51 +0000
(20:22 +0200)
compiler/iface/MkIface.lhs
patch
|
blob
|
history
diff --git
a/compiler/iface/MkIface.lhs
b/compiler/iface/MkIface.lhs
index
760f349
..
de99e98
100644
(file)
--- a/
compiler/iface/MkIface.lhs
+++ b/
compiler/iface/MkIface.lhs
@@
-880,9
+880,9
@@
instOrphWarn dflags unqual inst
= mkWarnMsg dflags (getSrcSpan inst) unqual $
hang (ptext (sLit "Orphan instance:")) 2 (pprInstanceHdr inst)
$$ text "To avoid this"
- $$ nest 4 (vcat posibilities)
+ $$ nest 4 (vcat pos
s
ibilities)
where
- posibilities =
+ pos
s
ibilities =
text "move the instance declaration to the module of the class or of the type, or" :
text "wrap the type with a newtype and declare the instance on the new type." :
[]