summaryrefslogtreecommitdiff
path: root/compiler/coreSyn
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2019-05-03 11:45:33 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-06-19 22:14:26 -0400
commit9d58554f7b19c52896796e8c3b6de20c154a67b2 (patch)
tree787d5894282155513385af5cc506a040e6cfbb89 /compiler/coreSyn
parent8584430e1d5f45fec33c783fc3bd6b781fad68de (diff)
downloadhaskell-9d58554f7b19c52896796e8c3b6de20c154a67b2.tar.gz
Properly trim IdInfos of DFunIds and PatSyns in TidyPgm
Not doing this right caused #16608. We now properly trim IdInfos of DFunIds and PatSyns. Some further refactoring done by SPJ. Two regression tests T16608_1 and T16608_2 added. Fixes #16608
Diffstat (limited to 'compiler/coreSyn')
-rw-r--r--compiler/coreSyn/CoreTidy.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/coreSyn/CoreTidy.hs b/compiler/coreSyn/CoreTidy.hs
index be5e6c1619..dfb031df7f 100644
--- a/compiler/coreSyn/CoreTidy.hs
+++ b/compiler/coreSyn/CoreTidy.hs
@@ -9,7 +9,7 @@ The code for *top-level* bindings is in TidyPgm.
{-# LANGUAGE CPP #-}
module CoreTidy (
- tidyExpr, tidyVarOcc, tidyRule, tidyRules, tidyUnfolding
+ tidyExpr, tidyRule, tidyRules, tidyUnfolding
) where
#include "HsVersions.h"