summaryrefslogtreecommitdiff
path: root/testsuite/tests/ado/ado003.stderr
blob: cdc5c59d387f911d58d4850a41913dd2876546bb (plain)
1
2
3
4
5
6
7
8
9

ado003.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 ()