summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T3176.stderr
blob: d8b102dc6866e958c61d1710a16f6cf3766c8d8a (plain)
1
2
3
4
5
6
7

T3176.hs:9:27: error: [GHC-55876]
    • Cannot use record selector ‘unES’ as a function due to escaped type variables
    • In the first argument of ‘($)’, namely ‘unES’
      In the second argument of ‘($)’, namely ‘unES $ f t’
      In the expression: show $ unES $ f t
    Suggested fix: Use pattern-matching syntax instead