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
Glasgow Haskell Compiler
GHC
Commits
7da3d30c
Commit
7da3d30c
authored
Oct 06, 2015
by
Simon Peyton Jones
Browse files
Comments only
parent
ca816c6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/typecheck/Inst.hs
View file @
7da3d30c
...
...
@@ -407,6 +407,9 @@ syntaxNameCtxt name orig ty tidy_env
-}
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
=
do
{
dflags
<-
getDynFlags
;
let
overlap_ok
=
xopt
Opt_OverlappingInstances
dflags
...
...
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