Commit 6890c38d authored by John Ericson's avatar John Ericson Committed by Marge Bot

Use braces with do in `SplicePat` case for consistency

parent cb4231db
Pipeline #19603 passed with stages
in 707 minutes and 13 seconds
......@@ -650,8 +650,8 @@ AST is used for the subtraction operation.
-- See Note [Delaying modFinalizers in untyped splices] in GHC.Rename.Splice.
SplicePat _ splice -> case splice of
(HsSpliced _ mod_finalizers (HsSplicedPat pat)) -> do
addModFinalizersWithLclEnv mod_finalizers
tc_pat pat_ty penv pat thing_inside
{ addModFinalizersWithLclEnv mod_finalizers
; tc_pat pat_ty penv pat thing_inside }
_ -> panic "invalid splice in splice pat"
......
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