summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/mdo/should_fail/mdofail001.stderr
blob: 8660e167fe172d4fa5f3d75574d155408bcb8276 (plain)
1
2
3
4
5
6
7
8
9
10
11

mdofail001.hs:1:12:
    Warning: -XRecursiveDo is deprecated: use -XDoRec or pragma {-# LANGUAGE DoRec #-} instead

mdofail001.hs:10:36:
    No instance for (Num Char)
      arising from the literal `3'
    Possible fix: add an instance declaration for (Num Char)
    In the expression: 3
    In the first argument of `l', namely `[1, 2, 3]'
    In the expression: l [1, 2, 3]