summaryrefslogtreecommitdiff
path: root/testsuite/tests/printer/Ppr007.stderr
blob: 5bb122a26945ce101f1a10d7f7f065ec0ad34a45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Ppr007.hs:7:3: error:
    • Couldn't match expected type ‘Int’ with actual type ‘Char’
    • In the pattern: 'a'
      In a stmt of a 'do' block: 'a' <- return (3 :: Int)
      In the expression:
        do x <- getChar
           'a' <- return (3 :: Int)
           return ()

Ppr007.ppr.hs:5:8: error:
    • Couldn't match expected type ‘Int’ with actual type ‘Char’
    • In the pattern: 'a'
      In a stmt of a 'do' block: 'a' <- return (3 :: Int)
      In the expression:
        do x <- getChar
           'a' <- return (3 :: Int)
           return ()