Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
a54d6e3b
Commit
a54d6e3b
authored
Apr 12, 2008
by
Ian Lynagh
Browse files
(F)SLIT -> (f)sLit in DsBinds
parent
081963e1
Changes
1
Show whitespace changes
Inline
Side-by-side
compiler/deSugar/DsBinds.lhs
View file @
a54d6e3b
...
...
@@ -295,13 +295,13 @@ dsSpec all_tvs dicts tvs poly_id mono_id mono_bind
void_tvs = all_tvs \\ tvs
dead_msg bs = vcat [ sep [ptext
SLIT(
"Useless constraint") <> plural bs
<+> ptext
SLIT(
"in specialied type:"),
dead_msg bs = vcat [ sep [ptext
(sLit
"Useless constraint") <> plural bs
<+> ptext
(sLit
"in specialied type:"),
nest 2 (pprTheta (map get_pred bs))]
, ptext
SLIT(
"SPECIALISE pragma ignored")]
, ptext
(sLit
"SPECIALISE pragma ignored")]
get_pred b = ASSERT( isId b ) expectJust "dsSpec" (tcSplitPredTy_maybe (idType b))
decomp_msg = hang (ptext
SLIT(
"Specialisation too complicated to desugar; ignored"))
decomp_msg = hang (ptext
(sLit
"Specialisation too complicated to desugar; ignored"))
2 (ppr spec_expr)
dsMkArbitraryType :: TcTyVar -> DsM Type
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment