Disallow local pattern synonym declarations
Locally-defined pattern synonyms work by accident in GHC and crash GHCi (see #8749 (closed)), but certainly not by design. It can be confusing because it introduces shadowing to constructor-like names.
Trac metadata
Trac field | Value |
---|---|
Version | 7.8.1-rc1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler (Type checker) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |