summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T8959b.stderr
blob: 7878b4c15cd6728d659b7fc880116af3c7c4c698 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

T8959b.hs:5:7: error: [GHC-83865]
    • Couldn't match expected type ‘Int → Int’ with actual type ‘()’
    • In the expression: ()
      In an equation for ‘foo’: foo = ()

T8959b.hs:8:7: error: [GHC-83865]
    • Couldn't match expected type ‘()’ with actual type ‘t0 → m0 t0’
    • In the expression: proc x -> do return ⤙ x
      In an equation for ‘bar’: bar = proc x -> do return ⤙ x

T8959b.hs:10:7: error: [GHC-83865]
    • Couldn't match expected type ‘(∀ a. a → a) → a1’
                  with actual type ‘()’
    • In the expression: () ∷ (∀ a. a → a) → a
      In an equation for ‘baz’: baz = () ∷ (∀ a. a → a) → a