-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark extensions implied by language as unused
- Loading branch information
Showing
2 changed files
with
39 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--------------------------------------------------------------------- | ||
RUN tests/ghc2021.hs | ||
FILE tests/ghc2021.hs | ||
{-# LANGUAGE FlexibleContexts #-} | ||
OUTPUT | ||
No hints | ||
|
||
--------------------------------------------------------------------- | ||
RUN tests/ghc2021.hs -XGHC2021 | ||
OUTPUT | ||
tests/ghc2021.hs:1:1-33: Warning: Unused LANGUAGE pragma | ||
Found: | ||
{-# LANGUAGE FlexibleContexts #-} | ||
Perhaps you should remove it. | ||
Note: Extension FlexibleContexts is implied by GHC2021 | ||
|
||
1 hint |