Commit 38014860 authored by's avatar
Browse files

Better error message for Template Haskell pattern brackets

parent 5abbf7b5
......@@ -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"))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment