Skip to content

Commit 1dc4749

Browse files
committed
Run ghc-supported-extensions on CI
1 parent 5fe8d8d commit 1dc4749

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/validate.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,9 @@ jobs:
262262
# one possibly nightmarish final conditional. 'fail-fast' gets us
263263
# partway there, at least, but is still imperfect.
264264

265+
- name: Check that language extensions are registered for this GHC version
266+
run: cabal run ghc-supported-extensions ghc
267+
265268
validate-old-ghcs:
266269
name: Validate old ghcs ${{ matrix.extra-ghc }}
267270
# latest/latest doesn't have the old packages the old ghcs depend on

Cabal-syntax/src/Language/Haskell/Extension.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -556,9 +556,6 @@ data KnownExtension
556556
| -- | Allow use of or-pattern syntax, condensing multiple patterns
557557
-- into a single one.
558558
OrPatterns
559-
| -- | Along with 'ImplicitStagePersistence', this gives fine-grained control
560-
-- over which modules are needed at each stage of execution.
561-
ExplicitLevelImports
562559
| -- | Allow identifiers to be used at different levels than where they’re
563560
-- defined, using path-based persistence.
564561
ImplicitStagePersistence

0 commit comments

Comments
 (0)