Commit 40fa420c authored by Simon Peyton Jones's avatar Simon Peyton Jones

Comments only

parent 8c1d6b7d
......@@ -1723,6 +1723,8 @@ don't want to discard a seq on it.
exprIsTopLevelBindable :: CoreExpr -> Type -> Bool
-- See Note [CoreSyn top-level string literals]
-- Precondition: exprType expr = ty
-- Top-level literal strings can't even be wrapped in ticks
-- see Note [CoreSyn top-level string literals] in CoreSyn
exprIsTopLevelBindable expr ty
= exprIsLiteralString expr
|| not (isUnliftedType ty)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment