summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/th/T3395.stderr
blob: f85f7cc1da54368937e4ebdf734717a52bf4f780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

T3395.hs:6:9:
    Illegal last statement of a list comprehension:
      r1 <- undefined
    (It should be an expression.)
    When splicing a TH expression: [r1 <- undefined | undefined]
    In the expression:
        $(return
        $ CompE
            [NoBindS (VarE $ mkName "undefined"),
             BindS (VarP $ mkName "r1") (VarE $ mkName "undefined")])
    In an equation for `foo':
        foo = $(return
              $ CompE
                  [NoBindS (VarE $ mkName "undefined"),
                   BindS (VarP $ mkName "r1") (VarE $ mkName "undefined")])