Skip to content

Commit fdbb48e

Browse files
committed
Misc cleanup
1 parent 8418a29 commit fdbb48e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/comp/IExpand.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2135,8 +2135,7 @@ evalStringList e = do
21352135
-- We get primChr for Nil, since it's a no-argument constructor
21362136
else if i == idPrimChr then return ([], getIExprPosition e')
21372137
else internalError ("evalStringList con: " ++ show i)
2138-
_ -> do e'' <- unheapAll e'
2139-
eNoNF e''
2138+
_ -> nfError "evalStringList" e'
21402139

21412140
-----------------------------------------------------------------------------
21422141

src/comp/TCheck.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2639,7 +2639,7 @@ tiExpl''' as0 i sc alts me (oqt@(oqs :=> ot), vts) = do
26392639
-- Were any contexts without variables left unsatisfied?
26402640
if not (null uds) then
26412641
-- Report reduction errors
2642-
handleContextReduction (Just i) (getPosition i) uds
2642+
handleContextReduction Nothing (getPosition i) uds
26432643
else
26442644
-- No ambiguous variables, so...
26452645
-- Produce the return values (deferred preds, CDefl)

0 commit comments

Comments
 (0)