diff options
Diffstat (limited to 'testsuite/tests/gadt/lazypat.stderr')
-rw-r--r-- | testsuite/tests/gadt/lazypat.stderr | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/gadt/lazypat.stderr b/testsuite/tests/gadt/lazypat.stderr new file mode 100644 index 0000000000..d64f40e487 --- /dev/null +++ b/testsuite/tests/gadt/lazypat.stderr @@ -0,0 +1,7 @@ + +lazypat.hs:7:5: + An existential or GADT data constructor cannot be used + inside a lazy (~) pattern + In the pattern: T x f + In the pattern: ~(T x f) + In an equation for `f': f ~(T x f) = f x |