Commit 5f044d48 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Tiny refactor

parent 831a35dd
...@@ -365,8 +365,7 @@ tc_pat pstate lpat@(LazyPat pat) pat_ty thing_inside ...@@ -365,8 +365,7 @@ tc_pat pstate lpat@(LazyPat pat) pat_ty thing_inside
-- getLIE/extendLIEs: see Note [Hopping the LIE in lazy patterns] -- getLIE/extendLIEs: see Note [Hopping the LIE in lazy patterns]
-- Check no existentials -- Check no existentials
; if (null pat_tvs) then return () ; unless (null pat_tvs) $ lazyPatErr lpat pat_tvs
else lazyPatErr lpat pat_tvs
-- Check that the pattern has a lifted type -- Check that the pattern has a lifted type
; pat_tv <- newBoxyTyVar liftedTypeKind ; pat_tv <- newBoxyTyVar liftedTypeKind
......
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