Skip to content
GitLab
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
b74748ff
Commit
b74748ff
authored
Mar 09, 2012
by
Simon Peyton Jones
Browse files
Wrap quotes in an error message
parent
301a718b
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/typecheck/TcHsType.lhs
View file @
b74748ff
...
...
@@ -208,7 +208,7 @@ tcHsDeriv hs_ty
; let (tvs, pred) = splitForAllTys ty
; case getClassPredTys_maybe pred of
Just (cls, tys) -> return (tvs, cls, tys)
Nothing -> failWithTc (ptext (sLit "Illegal deriving item") <+> ppr hs_ty) }
Nothing -> failWithTc (ptext (sLit "Illegal deriving item") <+>
quotes (
ppr hs_ty)
)
}
-- Used for 'VECTORISE [SCALAR] instance' declarations
--
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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