From 840df33685e8c746ade4b9d4d0eb7c764a773e48 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sat, 10 Oct 2015 14:34:21 +0200 Subject: Rename SpecInfo to RuleInfo (upon SPJ's advice). Test Plan: validate Reviewers: simonpj, austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1319 --- compiler/simplCore/SetLevels.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/simplCore/SetLevels.hs') diff --git a/compiler/simplCore/SetLevels.hs b/compiler/simplCore/SetLevels.hs index de02e27c2b..d873cc5e15 100644 --- a/compiler/simplCore/SetLevels.hs +++ b/compiler/simplCore/SetLevels.hs @@ -1015,7 +1015,7 @@ abstractVars dest_lvl (LE { le_subst = subst, le_lvl_env = lvl_env }) in_fvs -- We are going to lambda-abstract, so nuke any IdInfo, -- and add the tyvars of the Id (if necessary) zap v | isId v = WARN( isStableUnfolding (idUnfolding v) || - not (isEmptySpecInfo (idSpecialisation v)), + not (isEmptyRuleInfo (idSpecialisation v)), text "absVarsOf: discarding info on" <+> ppr v ) setIdInfo v vanillaIdInfo | otherwise = v -- cgit v1.2.1