diff options
Diffstat (limited to 'testsuite/tests/patsyn/should_fail/T14380.stderr')
-rw-r--r-- | testsuite/tests/patsyn/should_fail/T14380.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/patsyn/should_fail/T14380.stderr b/testsuite/tests/patsyn/should_fail/T14380.stderr new file mode 100644 index 0000000000..4228d2955c --- /dev/null +++ b/testsuite/tests/patsyn/should_fail/T14380.stderr @@ -0,0 +1,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 [] |