Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
38014860
Commit
38014860
authored
Jan 23, 2006
by
simonpj@microsoft.com
Browse files
Better error message for Template Haskell pattern brackets
parent
5abbf7b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/typecheck/TcSplice.lhs
View file @
38014860
...
...
@@ -149,6 +149,9 @@ tc_bracket (DecBr decls)
; return (mkAppTy q_ty (mkListTy decl_ty))
-- Result type is Q [Dec]
}
tc_bracket (PatBr _)
= failWithTc (ptext SLIT("Tempate Haskell pattern brackets are not supported yet"))
\end{code}
...
...
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