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
jberryman
GHC
Commits
6e335238
Commit
6e335238
authored
Mar 09, 2010
by
simonpj@microsoft.com
Browse files
A bug in isClosedUnfolding
isClosedUnfolding should say False for DFUnUnfolding!
parent
4ce88e32
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/coreSyn/CoreSyn.lhs
View file @
6e335238
...
...
@@ -622,6 +622,7 @@ unfoldingArity _ = panic "unfoldingArity"
isClosedUnfolding :: Unfolding -> Bool -- No free variables
isClosedUnfolding (CoreUnfolding {}) = False
isClosedUnfolding (DFunUnfolding {}) = False
isClosedUnfolding _ = True
-- | Only returns False if there is no unfolding information available at all
...
...
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