Commit 1f8e7e5 1 parent 36d3214 commit 1f8e7e5 Copy full SHA for 1f8e7e5
File tree 5 files changed +11
-7
lines changed
5 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 22
22
* Correctly format non-promoted type-level tuples with ` NoListTuplePuns ` . [ Issue
23
23
1146] ( https://github.com/tweag/ormolu/issues/1146 ) .
24
24
25
+ * Updated to ` Cabal-syntax-3.14 ` . [ Issue
26
+ 1152] ( https://github.com/tweag/ormolu/issues/1152 ) .
27
+
25
28
## Ormolu 0.7.7.0
26
29
27
30
* Use single-line layout for parens around single-line content. [ Issue
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ executable extract-hackage-info
16
16
-Wunused-packages
17
17
18
18
build-depends :
19
- Cabal-syntax >= 3.12 && < 3.13 ,
19
+ Cabal-syntax >= 3.14 && < 3.15 ,
20
20
aeson >= 2.2 && < 3 ,
21
21
base >= 4.12 && < 5 ,
22
22
binary >= 0.8 && < 0.9 ,
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ library
95
95
other-modules : GHC.DynFlags
96
96
default-language : GHC2021
97
97
build-depends :
98
- Cabal-syntax >= 3.12 && < 3.13 ,
98
+ Cabal-syntax >= 3.14 && < 3.15 ,
99
99
Diff >= 0.4 && < 2 ,
100
100
MemoTrie >= 0.6 && < 0.7 ,
101
101
ansi-terminal >= 0.10 && < 1.2 ,
@@ -133,7 +133,7 @@ executable ormolu
133
133
autogen-modules : Paths_ormolu
134
134
default-language : GHC2021
135
135
build-depends :
136
- Cabal-syntax >= 3.12 && < 3.13 ,
136
+ Cabal-syntax >= 3.14 && < 3.15 ,
137
137
base >= 4.12 && < 5 ,
138
138
containers >= 0.5 && < 0.8 ,
139
139
directory ^>= 1.3 ,
@@ -184,7 +184,7 @@ test-suite tests
184
184
185
185
default-language : GHC2021
186
186
build-depends :
187
- Cabal-syntax >= 3.12 && < 3.13 ,
187
+ Cabal-syntax >= 3.14 && < 3.15 ,
188
188
QuickCheck >= 2.14 ,
189
189
base >= 4.14 && < 5 ,
190
190
choice >= 0.2.4.1 && < 0.3 ,
Original file line number Diff line number Diff line change @@ -189,17 +189,17 @@ getExtensionAndDepsMap cabalFile GenericPackageDescription {..} =
189
189
extractFromLibrary Library {.. } =
190
190
extractFromBuildInfo (ModuleName. toFilePath <$> exposedModules) libBuildInfo
191
191
extractFromExecutable Executable {.. } =
192
- extractFromBuildInfo [modulePath] buildInfo
192
+ extractFromBuildInfo [getSymbolicPath modulePath] buildInfo
193
193
extractFromTestSuite TestSuite {.. } =
194
194
extractFromBuildInfo mainPath testBuildInfo
195
195
where
196
196
mainPath = case testInterface of
197
- TestSuiteExeV10 _ p -> [p]
197
+ TestSuiteExeV10 _ p -> [getSymbolicPath p]
198
198
TestSuiteLibV09 _ p -> [ModuleName. toFilePath p]
199
199
TestSuiteUnsupported {} -> []
200
200
extractFromBenchmark Benchmark {.. } =
201
201
extractFromBuildInfo mainPath benchmarkBuildInfo
202
202
where
203
203
mainPath = case benchmarkInterface of
204
- BenchmarkExeV10 _ p -> [p]
204
+ BenchmarkExeV10 _ p -> [getSymbolicPath p]
205
205
BenchmarkUnsupported {} -> []
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ packages:
6
6
7
7
extra-deps :
8
8
- ghc-lib-parser-9.12.1.20250105
9
+ - Cabal-syntax-3.14.1.0
9
10
- path-0.9.6
10
11
- path-io-1.8.2
11
12
You can’t perform that action at this time.
0 commit comments