Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex D
GHC
Commits
df9814b4
Commit
df9814b4
authored
Jul 09, 2007
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add -XExistentialQuantification flag
parent
f109a0b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
compiler/main/DynFlags.hs
compiler/main/DynFlags.hs
+3
-0
compiler/parser/Lexer.x
compiler/parser/Lexer.x
+1
-0
No files found.
compiler/main/DynFlags.hs
View file @
df9814b4
...
...
@@ -189,6 +189,7 @@ data DynFlag
|
Opt_FunctionalDependencies
|
Opt_UnicodeSyntax
|
Opt_PolymorphicComponents
|
Opt_ExistentialQuantification
|
Opt_MagicHash
|
Opt_EmptyDataDecls
|
Opt_KindSignatures
...
...
@@ -1112,6 +1113,7 @@ xFlags = [
(
"UnicodeSyntax"
,
Opt_UnicodeSyntax
),
(
"MagicHash"
,
Opt_MagicHash
),
(
"PolymorphicComponents"
,
Opt_PolymorphicComponents
),
(
"ExistentialQuantification"
,
Opt_ExistentialQuantification
),
(
"KindSignatures"
,
Opt_KindSignatures
),
(
"EmptyDataDecls"
,
Opt_EmptyDataDecls
),
(
"ParallelListComp"
,
Opt_ParallelListComp
),
...
...
@@ -1172,6 +1174,7 @@ glasgowExtsFlags = [ Opt_GlasgowExts
,
Opt_FunctionalDependencies
,
Opt_MagicHash
,
Opt_PolymorphicComponents
,
Opt_ExistentialQuantification
,
Opt_UnicodeSyntax
,
Opt_PatternGuards
,
Opt_RankNTypes
...
...
compiler/parser/Lexer.x
View file @
df9814b4
...
...
@@ -1591,6 +1591,7 @@ mkPState buf loc flags =
.|. ipBit `setBitIf` dopt Opt_ImplicitParams flags
.|. explicitForallBit `setBitIf` dopt Opt_ScopedTypeVariables flags
.|. explicitForallBit `setBitIf` dopt Opt_PolymorphicComponents flags
.|. explicitForallBit `setBitIf` dopt Opt_ExistentialQuantification flags
.|. bangPatBit `setBitIf` dopt Opt_BangPatterns flags
.|. tyFamBit `setBitIf` dopt Opt_TypeFamilies flags
.|. haddockBit `setBitIf` dopt Opt_Haddock flags
...
...
Write
Preview
Markdown
is supported
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