Pattern synonyms and TH
This file
{-# LANGUAGE PatternSynonyms, TemplateHaskell #-}
x = [d|pattern P = ()|]
causes a panic. Until TH supports pattern synonyms we should give a sensible error message.
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 |