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
Shayne Fletcher
Glasgow Haskell Compiler
Commits
b3b2e825
Commit
b3b2e825
authored
Jul 28, 2010
by
simonpj@microsoft.com
Browse files
Add OutsideIn flag
parent
d2ca68e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/main/DynFlags.hs
View file @
b3b2e825
...
...
@@ -314,7 +314,8 @@ data ExtensionFlag
|
Opt_RecordPuns
|
Opt_ViewPatterns
|
Opt_GADTs
|
Opt_RelaxedPolyRec
|
Opt_OutsideIn
|
Opt_RelaxedPolyRec
-- Deprecated
|
Opt_NPlusKPatterns
|
Opt_DoAndIfThenElse
...
...
@@ -1751,14 +1752,14 @@ impliedFlags
,
(
Opt_ExistentialQuantification
,
Opt_ExplicitForAll
)
,
(
Opt_PolymorphicComponents
,
Opt_ExplicitForAll
)
,
(
Opt_GADTs
,
Opt_
RelaxedPolyRec
)
-- We want type-sig variables to
,
(
Opt_GADTs
,
Opt_
OutsideIn
)
-- We want type-sig variables to
-- be completely rigid for GADTs
,
(
Opt_TypeFamilies
,
Opt_
RelaxedPolyRec
)
-- Trac #2944 gives a nice example
,
(
Opt_TypeFamilies
,
Opt_
OutsideIn
)
-- Trac #2944 gives a nice example
,
(
Opt_TypeFamilies
,
Opt_KindSignatures
)
-- Type families use kind signatures
-- all over the place
,
(
Opt_ScopedTypeVariables
,
Opt_
RelaxedPolyRec
)
-- Ditto for scoped type variables; see
,
(
Opt_ScopedTypeVariables
,
Opt_
OutsideIn
)
-- Ditto for scoped type variables; see
-- Note [Scoped tyvars] in TcBinds
,
(
Opt_ImpredicativeTypes
,
Opt_RankNTypes
)
...
...
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