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
4,334
Issues
4,334
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
368
Merge Requests
368
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
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
Glasgow Haskell Compiler
GHC
Commits
7da3d30c
Commit
7da3d30c
authored
Oct 06, 2015
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comments only
parent
ca816c6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
compiler/typecheck/Inst.hs
compiler/typecheck/Inst.hs
+3
-0
No files found.
compiler/typecheck/Inst.hs
View file @
7da3d30c
...
@@ -407,6 +407,9 @@ syntaxNameCtxt name orig ty tidy_env
...
@@ -407,6 +407,9 @@ syntaxNameCtxt name orig ty tidy_env
-}
-}
getOverlapFlag
::
Maybe
OverlapMode
->
TcM
OverlapFlag
getOverlapFlag
::
Maybe
OverlapMode
->
TcM
OverlapFlag
-- Construct the OverlapFlag from the global module flags,
-- but if the overlap_mode argument is (Just m),
-- set the OverlapMode to 'm'
getOverlapFlag
overlap_mode
getOverlapFlag
overlap_mode
=
do
{
dflags
<-
getDynFlags
=
do
{
dflags
<-
getDynFlags
;
let
overlap_ok
=
xopt
Opt_OverlappingInstances
dflags
;
let
overlap_ok
=
xopt
Opt_OverlappingInstances
dflags
...
...
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