summaryrefslogtreecommitdiff
path: root/compiler/simplCore/SimplEnv.hs
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2016-01-27 13:15:15 +0100
committerBen Gamari <ben@smart-cactus.org>2016-01-27 13:56:48 +0100
commit4faa1a63d0496fd511d2d139622dbf7ef2ce4655 (patch)
treea0877a6063443197c5425c506ed14354d9fe8060 /compiler/simplCore/SimplEnv.hs
parent45c6fbc5284f83e1253ff9f3b49fe54a76c20ba7 (diff)
downloadhaskell-4faa1a63d0496fd511d2d139622dbf7ef2ce4655.tar.gz
s/unLifted/unlifted for consistency
This was causing trouble as we had to remember when to use "unLifted" and when to use "unlifted". "unlifted" is used instead of "unLifted" as it's a single word. Reviewers: austin, hvr, goldfire, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1852
Diffstat (limited to 'compiler/simplCore/SimplEnv.hs')
-rw-r--r--compiler/simplCore/SimplEnv.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/simplCore/SimplEnv.hs b/compiler/simplCore/SimplEnv.hs
index 1f77657fe1..ecb2e66d68 100644
--- a/compiler/simplCore/SimplEnv.hs
+++ b/compiler/simplCore/SimplEnv.hs
@@ -423,7 +423,7 @@ unitFloat bind = Floats (unitOL bind) (flag bind)
flag (NonRec bndr rhs)
| not (isStrictId bndr) = FltLifted
| exprOkForSpeculation rhs = FltOkSpec -- Unlifted, and lifted but ok-for-spec (eg HNF)
- | otherwise = ASSERT2( not (isUnLiftedType (idType bndr)), ppr bndr )
+ | otherwise = ASSERT2( not (isUnliftedType (idType bndr)), ppr bndr )
FltCareful
-- Unlifted binders can only be let-bound if exprOkForSpeculation holds