summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T3395.stderr
blob: 3c51176191c3348633a3dd7c4cc7f97829b48cc7 (plain)
1
2
3
4
5
6
7
8
9
10
11

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 untyped splice:
      $(return
        $ CompE
            [NoBindS (VarE $ mkName "undefined"),
             BindS (VarP $ mkName "r1") (VarE $ mkName "undefined")])