summaryrefslogtreecommitdiff
path: root/compiler/ghci/ByteCodeGen.hs
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-02-08 14:14:36 +0100
committerGabor Greif <ggreif@gmail.com>2017-02-09 13:14:17 +0100
commite8f5efb55b694f70542d22d5c3aaf92222ccd973 (patch)
tree57f265e9826ce6ff8542ce4ebd8c73c630dbf0e2 /compiler/ghci/ByteCodeGen.hs
parentb9bebd8cedccd7e8dd6df89b5504cd8f1e7a675b (diff)
downloadhaskell-e8f5efb55b694f70542d22d5c3aaf92222ccd973.tar.gz
Tweaks and typos in manual, note refs, comments
Diffstat (limited to 'compiler/ghci/ByteCodeGen.hs')
-rw-r--r--compiler/ghci/ByteCodeGen.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ghci/ByteCodeGen.hs b/compiler/ghci/ByteCodeGen.hs
index f4b224d2a5..854eee28da 100644
--- a/compiler/ghci/ByteCodeGen.hs
+++ b/compiler/ghci/ByteCodeGen.hs
@@ -1660,7 +1660,7 @@ atomPrimRep (AnnVar v) = bcIdPrimRep v
atomPrimRep (AnnLit l) = typePrimRep1 (literalType l)
-- Trac #12128:
--- A case expresssion can be an atom because empty cases evaluate to bottom.
+-- A case expression can be an atom because empty cases evaluate to bottom.
-- See Note [Empty case alternatives] in coreSyn/CoreSyn.hs
atomPrimRep (AnnCase _ _ ty _) = ASSERT(typePrimRep ty == [LiftedRep]) LiftedRep
atomPrimRep (AnnCoercion {}) = VoidRep