blob: 4228d2955c79356b322ac0c481537c8e6c2b1813 (
plain)
1
2
3
4
5
6
7
8
9
|
T14380.hs:8:15: error:
Invalid right-hand side of bidirectional pattern synonym βBarβ:
Pattern β[]β is not invertible
Suggestion: instead use an explicitly bidirectional pattern synonym, e.g.
pattern Bar <- Foo [] where Bar = ...
Reason: rebindable syntax is on.
This is fixable: add use-case to Trac #14380
RHS pattern: Foo []
|