-
Notifications
You must be signed in to change notification settings - Fork 701
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is OK to include in 3.0 release, as I consider this a bug in initial release. We don't yet need to do heavy lifting as with mixins.
- Loading branch information
Showing
6 changed files
with
180 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
cabal-version: 3.0 | ||
name: issue | ||
version: 5846 | ||
|
||
library | ||
default-language: Haskell2010 | ||
build-depends: lib1:{a,b} | ||
, lib2:c | ||
|
||
build-depends: lib3:d>=1 | ||
build-depends: lib4:{a,b}>=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
GenericPackageDescription | ||
{condBenchmarks = [], | ||
condExecutables = [], | ||
condForeignLibs = [], | ||
condLibrary = Just | ||
CondNode | ||
{condTreeComponents = [], | ||
condTreeConstraints = [Dependency | ||
`PackageName "lib1"` | ||
AnyVersion | ||
(Set.fromList | ||
[LSubLibName `UnqualComponentName "a"`, | ||
LSubLibName `UnqualComponentName "b"`]), | ||
Dependency | ||
`PackageName "lib2"` | ||
AnyVersion | ||
(Set.fromList | ||
[LSubLibName `UnqualComponentName "c"`]), | ||
Dependency | ||
`PackageName "lib3"` | ||
(OrLaterVersion `mkVersion [1]`) | ||
(Set.fromList | ||
[LSubLibName `UnqualComponentName "d"`]), | ||
Dependency | ||
`PackageName "lib4"` | ||
(OrLaterVersion `mkVersion [1]`) | ||
(Set.fromList | ||
[LSubLibName `UnqualComponentName "a"`, | ||
LSubLibName `UnqualComponentName "b"`])], | ||
condTreeData = Library | ||
{exposedModules = [], | ||
libBuildInfo = BuildInfo | ||
{asmOptions = [], | ||
asmSources = [], | ||
autogenIncludes = [], | ||
autogenModules = [], | ||
buildToolDepends = [], | ||
buildTools = [], | ||
buildable = True, | ||
cSources = [], | ||
ccOptions = [], | ||
cmmOptions = [], | ||
cmmSources = [], | ||
cppOptions = [], | ||
customFieldsBI = [], | ||
cxxOptions = [], | ||
cxxSources = [], | ||
defaultExtensions = [], | ||
defaultLanguage = Just Haskell2010, | ||
extraBundledLibs = [], | ||
extraDynLibFlavours = [], | ||
extraFrameworkDirs = [], | ||
extraGHCiLibs = [], | ||
extraLibDirs = [], | ||
extraLibFlavours = [], | ||
extraLibs = [], | ||
frameworks = [], | ||
hsSourceDirs = [], | ||
includeDirs = [], | ||
includes = [], | ||
installIncludes = [], | ||
jsSources = [], | ||
ldOptions = [], | ||
mixins = [], | ||
oldExtensions = [], | ||
options = PerCompilerFlavor [] [], | ||
otherExtensions = [], | ||
otherLanguages = [], | ||
otherModules = [], | ||
pkgconfigDepends = [], | ||
profOptions = PerCompilerFlavor [] [], | ||
sharedOptions = PerCompilerFlavor [] [], | ||
staticOptions = PerCompilerFlavor [] [], | ||
targetBuildDepends = [Dependency | ||
`PackageName "lib1"` | ||
AnyVersion | ||
(Set.fromList | ||
[LSubLibName | ||
`UnqualComponentName "a"`, | ||
LSubLibName | ||
`UnqualComponentName "b"`]), | ||
Dependency | ||
`PackageName "lib2"` | ||
AnyVersion | ||
(Set.fromList | ||
[LSubLibName | ||
`UnqualComponentName "c"`]), | ||
Dependency | ||
`PackageName "lib3"` | ||
(OrLaterVersion | ||
`mkVersion [1]`) | ||
(Set.fromList | ||
[LSubLibName | ||
`UnqualComponentName "d"`]), | ||
Dependency | ||
`PackageName "lib4"` | ||
(OrLaterVersion | ||
`mkVersion [1]`) | ||
(Set.fromList | ||
[LSubLibName | ||
`UnqualComponentName "a"`, | ||
LSubLibName | ||
`UnqualComponentName "b"`])], | ||
virtualModules = []}, | ||
libExposed = True, | ||
libName = LMainLibName, | ||
libVisibility = LibraryVisibilityPublic, | ||
reexportedModules = [], | ||
signatures = []}}, | ||
condSubLibraries = [], | ||
condTestSuites = [], | ||
genPackageFlags = [], | ||
packageDescription = PackageDescription | ||
{author = "", | ||
benchmarks = [], | ||
bugReports = "", | ||
buildTypeRaw = Nothing, | ||
category = "", | ||
copyright = "", | ||
customFieldsPD = [], | ||
dataDir = "", | ||
dataFiles = [], | ||
description = "", | ||
executables = [], | ||
extraDocFiles = [], | ||
extraSrcFiles = [], | ||
extraTmpFiles = [], | ||
foreignLibs = [], | ||
homepage = "", | ||
library = Nothing, | ||
licenseFiles = [], | ||
licenseRaw = Left NONE, | ||
maintainer = "", | ||
package = PackageIdentifier | ||
{pkgName = `PackageName "issue"`, | ||
pkgVersion = `mkVersion [5846]`}, | ||
pkgUrl = "", | ||
setupBuildInfo = Nothing, | ||
sourceRepos = [], | ||
specVersionRaw = Left `mkVersion [3,0]`, | ||
stability = "", | ||
subLibraries = [], | ||
synopsis = "", | ||
testSuites = [], | ||
testedWith = []}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
cabal-version: 3.0 | ||
name: issue | ||
version: 5846 | ||
|
||
library | ||
default-language: Haskell2010 | ||
build-depends: | ||
lib1 : {a, b} -any, | ||
lib2 : {c} -any, | ||
lib3 : {d} >=1, | ||
lib4 : {a, b} >=1 |