Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
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
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
13a46b2e
Commit
13a46b2e
authored
8 years ago
by
Edward Z. Yang
Browse files
Options
Downloads
Patches
Plain Diff
Fix -Werror failure.
Signed-off-by:
Edward Z. Yang
<
ezyang@cs.stanford.edu
>
parent
af422f76
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cabal-install/Distribution/Solver/Modular/Solver.hs
+2
-2
2 additions, 2 deletions
cabal-install/Distribution/Solver/Modular/Solver.hs
with
2 additions
and
2 deletions
cabal-install/Distribution/Solver/Modular/Solver.hs
+
2
−
2
View file @
13a46b2e
...
...
@@ -14,7 +14,6 @@ import Data.Set as S
import
Distribution.Version
import
Distribution.Compiler
(
CompilerInfo
)
import
Distribution.Text
(
display
)
import
Distribution.Solver.Types.PackagePath
import
Distribution.Solver.Types.PackagePreferences
...
...
@@ -45,6 +44,7 @@ import Distribution.Simple.Setup (BooleanFlag(..))
import
Distribution.Solver.Modular.Flag
import
qualified
Distribution.Solver.Modular.ConflictSet
as
CS
import
qualified
Distribution.Solver.Modular.WeightedPSQ
as
W
import
qualified
Distribution.Text
as
T
import
Debug.Trace.Tree
(
gtraceJson
)
import
Debug.Trace.Tree.Simple
...
...
@@ -202,7 +202,7 @@ instance GSimpleTree (Tree d QGoalReason) where
-- Show package choice
goP
::
QPN
->
POption
->
Tree
d
QGoalReason
->
(
String
,
SimpleTree
)
goP
_
(
POption
(
I
ver
_loc
)
Nothing
)
subtree
=
(
display
ver
,
go
subtree
)
goP
_
(
POption
(
I
ver
_loc
)
Nothing
)
subtree
=
(
T
.
display
ver
,
go
subtree
)
goP
(
Q
_
pn
)
(
POption
_
(
Just
pp
))
subtree
=
(
showQPN
(
Q
pp
pn
),
go
subtree
)
-- Show flag or stanza choice
...
...
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