Skip to content

Commit 0a328bc

Browse files
Enable the extensions the MkType doctests need in the docspec CI
The mkZipType and mkCrossType examples need FlexibleInstances, GeneralizedNewtypeDeriving and TypeOperators, as in master's doctest setup for Streamly.Data.Stream.MkType.
1 parent 6a0d40d commit 0a328bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.circleci/config.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ jobs:
186186
DISABLE_DOCS: "y"
187187
ENABLE_DOCSPEC: "y"
188188
DOCSPEC_URL: https://github.com/phadej/cabal-extras/releases/download/cabal-docspec-0.0.0.20250606/cabal-docspec-0.0.0.20250606-x86_64-linux.xz
189-
DOCSPEC_OPTIONS: "--timeout 60 --check-properties --property-variables xs -XFlexibleContexts -XScopedTypeVariables -XDeriveGeneric"
189+
DOCSPEC_OPTIONS: "--timeout 60 --check-properties --property-variables xs -XFlexibleContexts -XFlexibleInstances -XGeneralizedNewtypeDeriving -XTypeOperators -XScopedTypeVariables -XDeriveGeneric"
190190
command: |
191191
sed -i 's/other-modules:/exposed-modules:/g' streamly.cabal
192192
sed -i 's/other-modules:/exposed-modules:/g' core/streamly-core.cabal

0 commit comments

Comments
 (0)