summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/arrows/should_fail/T2111.stderr
blob: 9c6c17fb53c18a82eea12b6f1cac3391893a0f05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

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

T2111.hs:6:23:
    The arrow command
      undefined -< x
    was found where an expression was expected
    In a stmt of a 'do' block: x <- undefined -< x
    In a stmt of a 'do' block: rec {x <- undefined -< x}
    In the expression:
      do { rec {x <- undefined -< x};
           undefined -< x }