Commit 93ba4d5b authored by simonpj's avatar simonpj
Browse files

[project @ 2005-12-19 11:00:40 by simonpj]

Tiny fix to patterns with type sigs
parent bba98641
......@@ -250,7 +250,7 @@ tc_pat ctxt (SigPatIn pat sig) pat_ty thing_inside
<- tcExtendTyVarEnv2 tv_binds $
tcPat ctxt pat (Check sig_ty') thing_inside
; return (SigPatOut pat' sig_ty, tvs, res) }
; return (SigPatOut pat' sig_ty', tvs, res) }
tc_pat ctxt pat@(TypePat ty) pat_ty thing_inside
= failWithTc (badTypePat pat)
......
Markdown is supported
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