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
-- getLIE/extendLIEs: see Note [Hopping the LIE in lazy patterns]
-- Check no existentials
; if (null pat_tvs) then return ()
else lazyPatErr lpat pat_tvs
; unless (null pat_tvs) $ lazyPatErr lpat pat_tvs
-- Check that the pattern has a lifted type
; pat_tv <- newBoxyTyVar liftedTypeKind
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