Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
30e3021f
Commit
30e3021f
authored
Apr 10, 2003
by
simonpj
Browse files
[project @ 2003-04-10 11:33:56 by simonpj]
Comments
parent
3b2322d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/simplCore/SimplUtils.lhs
View file @
30e3021f
...
...
@@ -224,6 +224,9 @@ getContArgs chkr fun orig_cont
-- * (error "Hello") arg
-- * f (error "Hello") where f is strict
-- etc
-- Then, especially in the first of these cases, we'd like to discard
-- the continuation, leaving just the bottoming expression. But the
-- type might not be right, so we may have to add a coerce.
go acc ss inl cont
| null ss && discardableCont cont = (reverse acc, discardCont cont, inl)
| otherwise = (reverse acc, cont, inl)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment