Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
haddock
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Glasgow Haskell Compiler
haddock
Commits
825d7b91
Commit
825d7b91
authored
1 year ago
by
Finley McIlwaine
Browse files
Options
Downloads
Patches
Plain Diff
Force HIE file path
Removes a potential retainer of `ModSummary`s
parent
38cb1f9c
No related branches found
Branches containing commit
No related tags found
3 merge requests
!38
Make --no-tmp-comp-dir the default
,
!37
Adapt to latest xhtml version, various optimizations
,
!31
Support HsToken in DataDecl and ClassDecl
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
haddock-api/src/Haddock/Interface/Create.hs
+10
-6
10 additions, 6 deletions
haddock-api/src/Haddock/Interface/Create.hs
with
10 additions
and
6 deletions
haddock-api/src/Haddock/Interface/Create.hs
+
10
−
6
View file @
825d7b91
...
...
@@ -109,6 +109,8 @@ createInterface1 flags unit_state mod_sum tc_gbl_env ifaces inst_ifaces = do
}
}
=
mod_sum
!
ml_hie_file'
=
force
ml_hie_file
TcGblEnv
{
tcg_mod
...
...
@@ -251,7 +253,7 @@ createInterface1 flags unit_state mod_sum tc_gbl_env ifaces inst_ifaces = do
ifaceMod
=
tcg_mod
,
ifaceIsSig
=
is_sig
,
ifaceOrigFilename
=
msHsFilePath
mod_sum
,
ifaceHieFile
=
Just
ml_hie_file
,
ifaceHieFile
=
Just
ml_hie_file
'
,
ifaceInfo
=
info
,
ifaceDoc
=
Documentation
header_doc
mod_warning
,
ifaceRnDoc
=
Documentation
Nothing
Nothing
...
...
@@ -830,18 +832,20 @@ availExportItem is_sig modMap thisMod semMod warnings exportedNames
!
patSynNames
=
force
$
concatMap
(
getMainDeclBinder
emptyOccEnv
.
fst
)
bundledPatSyns
!
doc'
=
force
doc
!
subs'
=
force
subs
!
restrictToNames
=
force
$
fmap
fst
subs'
!
fixities
=
force
[
(
n
,
f
)
|
n
<-
availName
avail
:
fmap
fst
subs
++
patSynNames
|
n
<-
availName
avail
:
fmap
fst
subs
'
++
patSynNames
,
Just
f
<-
[
M
.
lookup
n
fixMap
]
]
!
doc'
=
force
doc
!
subs'
=
force
subs
return
[
ExportDecl
ExportD
{
expDDecl
=
restrictTo
(
fmap
fst
subs
)
extractedDecl
{
expDDecl
=
restrictTo
restrictToNames
extractedDecl
,
expDPats
=
bundledPatSyns
,
expDMbDoc
=
doc'
,
expDSubDocs
=
subs'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment