Skip to content

Commit fed50c7

Browse files
committed
Fix typo explitic
1 parent beba231 commit fed50c7

4 files changed

Lines changed: 14 additions & 7 deletions

File tree

.typos-srcs.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,3 @@ fo = "fo"
5858
nto = "nto" # nto-qnx operating system
5959
dows = "dows" # win-dows
6060
bimap = "bimap"
61-
explitic = "explitic"

Cabal/src/Distribution/PackageDescription/Check.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ checkPackageDescription
520520
( isNothing setupBuildInfo_
521521
&& buildTypeRaw_ == Just Custom
522522
)
523-
(PackageDistSuspiciousWarn CVExpliticDepsCustomSetup)
523+
(PackageDistSuspiciousWarn CVExplicitDepsCustomSetup)
524524
checkP
525525
(isNothing buildTypeRaw_ && specVersion_ < CabalSpecV2_2)
526526
(PackageBuildWarning NoBuildType)

Cabal/src/Distribution/PackageDescription/Check/Warning.hs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ data CheckExplanation
244244
| CVSourceRepository
245245
| CVExtensions CabalSpecVersion [Extension]
246246
| CVCustomSetup
247-
| CVExpliticDepsCustomSetup
247+
| CVExplicitDepsCustomSetup
248248
| CVAutogenPaths
249249
| CVAutogenPackageInfo
250250
| CVAutogenPackageInfoGuard
@@ -411,7 +411,7 @@ data CheckExplanationID
411411
| CICVSourceRepository
412412
| CICVExtensions
413413
| CICVCustomSetup
414-
| CICVExpliticDepsCustomSetup
414+
| CICVExplicitDepsCustomSetup
415415
| CICVAutogenPaths
416416
| CICVAutogenPackageInfo
417417
| CICVAutogenPackageInfoGuard
@@ -557,7 +557,7 @@ checkExplanationId (CVVirtualModules{}) = CICVVirtualModules
557557
checkExplanationId (CVSourceRepository{}) = CICVSourceRepository
558558
checkExplanationId (CVExtensions{}) = CICVExtensions
559559
checkExplanationId (CVCustomSetup{}) = CICVCustomSetup
560-
checkExplanationId (CVExpliticDepsCustomSetup{}) = CICVExpliticDepsCustomSetup
560+
checkExplanationId (CVExplicitDepsCustomSetup{}) = CICVExplicitDepsCustomSetup
561561
checkExplanationId (CVAutogenPaths{}) = CICVAutogenPaths
562562
checkExplanationId (CVAutogenPackageInfo{}) = CICVAutogenPackageInfo
563563
checkExplanationId (CVAutogenPackageInfoGuard{}) = CICVAutogenPackageInfoGuard
@@ -710,7 +710,7 @@ ppCheckExplanationId CICVVirtualModules = "virtual-modules"
710710
ppCheckExplanationId CICVSourceRepository = "source-repository"
711711
ppCheckExplanationId CICVExtensions = "incompatible-extension"
712712
ppCheckExplanationId CICVCustomSetup = "no-setup-depends"
713-
ppCheckExplanationId CICVExpliticDepsCustomSetup = "dependencies-setup"
713+
ppCheckExplanationId CICVExplicitDepsCustomSetup = "dependencies-setup"
714714
ppCheckExplanationId CICVAutogenPaths = "no-autogen-paths"
715715
ppCheckExplanationId CICVAutogenPackageInfo = "no-autogen-pinfo"
716716
ppCheckExplanationId CICVAutogenPackageInfoGuard = "autogen-guard"
@@ -1249,7 +1249,7 @@ ppExplanation CVCustomSetup =
12491249
++ "that specifies the dependencies of the Setup.hs script itself. "
12501250
++ "The 'setup-depends' field uses the same syntax as 'build-depends', "
12511251
++ "so a simple example would be 'setup-depends: base, Cabal'."
1252-
ppExplanation CVExpliticDepsCustomSetup =
1252+
ppExplanation CVExplicitDepsCustomSetup =
12531253
"From version 1.24 cabal supports specifying explicit dependencies "
12541254
++ "for Custom setup scripts. Consider using 'cabal-version: 1.24' or "
12551255
++ "higher and adding a 'custom-setup' section with a 'setup-depends' "

changelog.d/pr-11621.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
synopsis: Fix typos explitic
3+
packages: [Cabal]
4+
prs: 11621
5+
---
6+
7+
Changes `CheckExplanation` constructor `CVExpliticDepsCustomSetup` and
8+
`CheckExplanationID` constructor `CICVExpliticDepsCustomSetup`.

0 commit comments

Comments
 (0)