summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail058.hs
blob: 2763e97bc787957799bf2e0917b44476b2565a7f (plain)
1
2
3
4
5
6
7
module ShouldFail where
import Data.Array

-- !!! inadvertently using => instead of ->

f :: (Array a) => a -> b
f x = x