Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
a937c274
Commit
a937c274
authored
Sep 03, 2010
by
simonpj@microsoft.com
Browse files
Deprecate NoRelaxedPolyRec
parent
2bea0ae5
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/main/DynFlags.hs
View file @
a937c274
...
...
@@ -1502,7 +1502,7 @@ type FlagSpec flag
,
Bool
->
DynP
()
)
-- Extra action to run when the flag is found
-- Typically, emit a warning or error
-- True <=> we are turning the flag on
-- False <=> we are turning the flag o
n
-- False <=> we are turning the flag o
ff
mkFlag
::
Bool
-- ^ True <=> it should be turned on
...
...
@@ -1714,7 +1714,10 @@ xFlags = [
(
"AlternativeLayoutRuleTransitional"
,
Opt_AlternativeLayoutRuleTransitional
,
nop
),
(
"DatatypeContexts"
,
Opt_DatatypeContexts
,
nop
),
(
"MonoLocalBinds"
,
Opt_MonoLocalBinds
,
nop
),
(
"RelaxedPolyRec"
,
Opt_RelaxedPolyRec
,
nop
),
(
"RelaxedPolyRec"
,
Opt_RelaxedPolyRec
,
\
turn_on
->
if
not
turn_on
then
deprecate
"You can't turn off RelaxedPolyRec any more"
else
return
()
),
(
"ExtendedDefaultRules"
,
Opt_ExtendedDefaultRules
,
nop
),
(
"ImplicitParams"
,
Opt_ImplicitParams
,
nop
),
(
"ScopedTypeVariables"
,
Opt_ScopedTypeVariables
,
nop
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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