Skip to content

Commit 2558927

Browse files
authored
code-generators now marked to 3.8 spec (haskell#8134)
* code-generators now marked to 3.8 spec * cg test vers Co-authored-by: Gershom Bazerman <[email protected]>
1 parent f26a066 commit 2558927

File tree

2 files changed

+2
-2
lines changed
  • Cabal-syntax/src/Distribution/PackageDescription
  • cabal-testsuite/PackageTests/TestCodeGenerator

2 files changed

+2
-2
lines changed

Cabal-syntax/src/Distribution/PackageDescription/FieldGrammar.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ testSuiteFieldGrammar = TestSuiteStanza
322322
<*> optionalField "test-module" testStanzaTestModule
323323
<*> blurFieldGrammar testStanzaBuildInfo buildInfoFieldGrammar
324324
<*> monoidalFieldAla "code-generators" (alaList' CommaFSep Token) testStanzaCodeGenerators
325-
^^^ availableSince CabalSpecV3_6 [] -- TODO 3_8
325+
^^^ availableSince CabalSpecV3_8 []
326326

327327
validateTestSuite :: Position -> TestSuiteStanza -> ParseResult TestSuite
328328
validateTestSuite pos stanza = case testSuiteType of

cabal-testsuite/PackageTests/TestCodeGenerator/my.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cabal-version: 3.6
1+
cabal-version: 3.8
22
name: my
33
version: 0.1
44
license: BSD-3-Clause

0 commit comments

Comments
 (0)