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

ExplicitSpecificity1.hs:9:15: error: [GHC-95781]
    • Cannot apply expression of type ‘a0 -> a0’
      to a visible type argument ‘Int’
    • In the expression: foo @Int 42
      In an equation for ‘x’: x = foo @Int 42
      In the expression: let x = foo @Int 42 in ()