Pattern synonyms crash GHCi
ghci -XPatternSynonyms
> let pattern P x = x
causes a panic. I understand pattern synonyms are currently unsupported in GHCi, but we should give an error message, not a panic.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.7 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | cactus |
| Operating system | |
| Architecture |