projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable bang-patterns only when the flag says so (had missed a case before)
[ghc-hetmet.git]
/
compiler
/
main
/
DynFlags.hs
diff --git
a/compiler/main/DynFlags.hs
b/compiler/main/DynFlags.hs
index
f02e676
..
9f1f532
100644
(file)
--- a/
compiler/main/DynFlags.hs
+++ b/
compiler/main/DynFlags.hs
@@
-1042,8
+1042,7
@@
glasgowExtsFlags = [
Opt_GlasgowExts,
Opt_FFI,
Opt_ImplicitParams,
Opt_GlasgowExts,
Opt_FFI,
Opt_ImplicitParams,
- Opt_ScopedTypeVariables,
- Opt_BangPatterns ]
+ Opt_ScopedTypeVariables ]
isFFlag f = f `elem` (map fst fFlags)
getFFlag f = fromJust (lookup f fFlags)
isFFlag f = f `elem` (map fst fFlags)
getFFlag f = fromJust (lookup f fFlags)