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

tcfail009.hs:3:17: error: [GHC-83865]
    • Couldn't match expected type ‘Int’ with actual type ‘Integer’
    • In the expression: 2 :: Integer
      In the expression: [(1 :: Int) .. (2 :: Integer)]
      In an equation for ‘p’: p = [(1 :: Int) .. (2 :: Integer)]