From 47f7d1e976221b6a6c67647394a75dba0d82a3bc Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Sat, 9 Nov 2019 12:00:37 -0500 Subject: [PATCH] desugar: Drop stale Note [Matching seqId] The need for this note vanished in eae703aa60f41fd232be5478e196b661839ec3de. --- compiler/deSugar/DsBinds.hs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/compiler/deSugar/DsBinds.hs b/compiler/deSugar/DsBinds.hs index 6498ed7f6f..20a3b23e96 100644 --- a/compiler/deSugar/DsBinds.hs +++ b/compiler/deSugar/DsBinds.hs @@ -1073,12 +1073,6 @@ simplOptExpr occurrence-analyses and simplifies the LHS: otherwise we don't match when given an argument like augment (\a. h a a) (build h) -Note [Matching seqId] -~~~~~~~~~~~~~~~~~~~ -The desugarer turns (seq e r) into (case e of _ -> r), via a special-case hack -and this code turns it back into an application of seq! -See Note [Rules for seq] in MkId for the details. - Note [Unused spec binders] ~~~~~~~~~~~~~~~~~~~~~~~~~~ Consider -- GitLab