haskell / haskell/error-messages
Should suggest to turn on PatternSynonyms on pattern import
Open
status:Composing error message
tool:GHC
type:error-message
- Dominant language
- No language data
- Stars
- 76
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
I would expect to receive the suggestion "perhaps you meant to enable PatternSynonyms" in the first case.
```
> import Control.Exception (pattern ErrorCall)
:1:35: error: parse error on input ‘ErrorCall’
> :set -XPatternSynonyms
> import Control.Exception (pattern ErrorCall)
```
(GHC 8.10.7)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.