Add migration guide for #9718 (#10578)
[cabal.git] / Cabal-tests / tests / ParserTests / regressions / multiple-libs-2.expr
blobdc6371bc75c041b09af787d27257e7f2d5c54218
1 GenericPackageDescription {
2   packageDescription =
3   PackageDescription {
4     specVersion = CabalSpecV2_0,
5     package = PackageIdentifier {
6       pkgName = PackageName
7         "multiple-libs",
8       pkgVersion = mkVersion [0]},
9     licenseRaw = Left NONE,
10     licenseFiles = [],
11     copyright = "",
12     maintainer = "",
13     author = "",
14     stability = "",
15     testedWith = [],
16     homepage = "",
17     pkgUrl = "",
18     bugReports = "",
19     sourceRepos = [],
20     synopsis =
21     "visible flag only since 3.0",
22     description = "",
23     category = "",
24     customFieldsPD = [],
25     buildTypeRaw = Just Simple,
26     setupBuildInfo = Nothing,
27     library = Nothing,
28     subLibraries = [],
29     executables = [],
30     foreignLibs = [],
31     testSuites = [],
32     benchmarks = [],
33     dataFiles = [],
34     dataDir = SymbolicPath ".",
35     extraSrcFiles = [],
36     extraTmpFiles = [],
37     extraDocFiles = [],
38     extraFiles = []},
39   gpdScannedVersion = Nothing,
40   genPackageFlags = [],
41   condLibrary = Just
42     CondNode {
43       condTreeData = Library {
44         libName = LMainLibName,
45         exposedModules = [
46           ModuleName "ElseIf"],
47         reexportedModules = [],
48         signatures = [],
49         libExposed = True,
50         libVisibility =
51         LibraryVisibilityPublic,
52         libBuildInfo = BuildInfo {
53           buildable = True,
54           buildTools = [],
55           buildToolDepends = [],
56           cppOptions = [],
57           asmOptions = [],
58           cmmOptions = [],
59           ccOptions = [],
60           cxxOptions = [],
61           ldOptions = [],
62           hsc2hsOptions = [],
63           pkgconfigDepends = [],
64           frameworks = [],
65           extraFrameworkDirs = [],
66           asmSources = [],
67           cmmSources = [],
68           cSources = [],
69           cxxSources = [],
70           jsSources = [],
71           hsSourceDirs = [],
72           otherModules = [],
73           virtualModules = [],
74           autogenModules = [],
75           defaultLanguage = Just
76             Haskell2010,
77           otherLanguages = [],
78           defaultExtensions = [],
79           otherExtensions = [],
80           oldExtensions = [],
81           extraLibs = [],
82           extraLibsStatic = [],
83           extraGHCiLibs = [],
84           extraBundledLibs = [],
85           extraLibFlavours = [],
86           extraDynLibFlavours = [],
87           extraLibDirs = [],
88           extraLibDirsStatic = [],
89           includeDirs = [],
90           includes = [],
91           autogenIncludes = [],
92           installIncludes = [],
93           options = PerCompilerFlavor
94             []
95             [],
96           profOptions = PerCompilerFlavor
97             []
98             [],
99           sharedOptions =
100           PerCompilerFlavor [] [],
101           profSharedOptions =
102           PerCompilerFlavor [] [],
103           staticOptions =
104           PerCompilerFlavor [] [],
105           customFieldsBI = [],
106           targetBuildDepends = [
107             Dependency
108               (PackageName "base")
109               (OrLaterVersion (mkVersion [0]))
110               mainLibSet],
111           mixins = []}},
112       condTreeConstraints = [
113         Dependency
114           (PackageName "base")
115           (OrLaterVersion (mkVersion [0]))
116           mainLibSet],
117       condTreeComponents = []},
118   condSubLibraries = [
119     _×_
120       (UnqualComponentName "public")
121       CondNode {
122         condTreeData = Library {
123           libName = LSubLibName
124             (UnqualComponentName "public"),
125           exposedModules = [
126             ModuleName "ElseIf2"],
127           reexportedModules = [],
128           signatures = [],
129           libExposed = True,
130           libVisibility =
131           LibraryVisibilityPrivate,
132           libBuildInfo = BuildInfo {
133             buildable = True,
134             buildTools = [],
135             buildToolDepends = [],
136             cppOptions = [],
137             asmOptions = [],
138             cmmOptions = [],
139             ccOptions = [],
140             cxxOptions = [],
141             ldOptions = [],
142             hsc2hsOptions = [],
143             pkgconfigDepends = [],
144             frameworks = [],
145             extraFrameworkDirs = [],
146             asmSources = [],
147             cmmSources = [],
148             cSources = [],
149             cxxSources = [],
150             jsSources = [],
151             hsSourceDirs = [],
152             otherModules = [],
153             virtualModules = [],
154             autogenModules = [],
155             defaultLanguage = Just
156               Haskell2010,
157             otherLanguages = [],
158             defaultExtensions = [],
159             otherExtensions = [],
160             oldExtensions = [],
161             extraLibs = [],
162             extraLibsStatic = [],
163             extraGHCiLibs = [],
164             extraBundledLibs = [],
165             extraLibFlavours = [],
166             extraDynLibFlavours = [],
167             extraLibDirs = [],
168             extraLibDirsStatic = [],
169             includeDirs = [],
170             includes = [],
171             autogenIncludes = [],
172             installIncludes = [],
173             options = PerCompilerFlavor
174               []
175               [],
176             profOptions = PerCompilerFlavor
177               []
178               [],
179             sharedOptions =
180             PerCompilerFlavor [] [],
181             profSharedOptions =
182             PerCompilerFlavor [] [],
183             staticOptions =
184             PerCompilerFlavor [] [],
185             customFieldsBI = [],
186             targetBuildDepends = [
187               Dependency
188                 (PackageName "base")
189                 (OrLaterVersion (mkVersion [0]))
190                 mainLibSet],
191             mixins = []}},
192         condTreeConstraints = [
193           Dependency
194             (PackageName "base")
195             (OrLaterVersion (mkVersion [0]))
196             mainLibSet],
197         condTreeComponents = []}],
198   condForeignLibs = [],
199   condExecutables = [],
200   condTestSuites = [],
201   condBenchmarks = []}