summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt/lazypat.stderr
blob: 460c600b3580e6a1f2a7c3b5a1b0adb72f765897 (plain)
1
2
3
4
5
6
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