summaryrefslogtreecommitdiff
path: root/compiler/typecheck/TcPatSyn.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/typecheck/TcPatSyn.hs')
-rw-r--r--compiler/typecheck/TcPatSyn.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/typecheck/TcPatSyn.hs b/compiler/typecheck/TcPatSyn.hs
index 06733d8f4d..45147cd048 100644
--- a/compiler/typecheck/TcPatSyn.hs
+++ b/compiler/typecheck/TcPatSyn.hs
@@ -853,7 +853,9 @@ tcPatSynBuilderBind (PSB { psb_id = L loc name
; traceTc "tcPatSynBuilderBind }" $ ppr builder_binds
; return builder_binds } } }
+#if __GLASGOW_HASKELL__ <= 810
| otherwise = panic "tcPatSynBuilderBind" -- Both cases dealt with
+#endif
where
mb_match_group
= case dir of