Skip to content

Commit

Permalink
Fix more do-block indentation detected by GHC 9.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
quark17 committed Nov 12, 2021
1 parent a7bd79e commit 53c4c78
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/comp/IExpand.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2650,12 +2650,12 @@ evalUH e = do
_ -> do e'' <- toHeapWHNFInferName "eval-uh" (pExprToHExpr pe)
return (e'', pe)
_ -> do
pe' <- unheap pe
when (doTraceHeapAlloc && isRef e0) $
traceM ("wasted re-heap 2: " ++ ppReadable (e, e0, pe'))
e' <- toHeapWHNFInferName "eval-uh" (pExprToHExpr pe)
-- could use isRef here to preserve the original reference
return (e', pe')
pe' <- unheap pe
when (doTraceHeapAlloc && isRef e0) $
traceM ("wasted re-heap 2: " ++ ppReadable (e, e0, pe'))
e' <- toHeapWHNFInferName "eval-uh" (pExprToHExpr pe)
-- could use isRef here to preserve the original reference
return (e', pe')

-- Like evalUH, but check for implicit conditions.
-- This is used to evaluate static exprs:
Expand Down

0 comments on commit 53c4c78

Please sign in to comment.