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

T3395.hs:6:8: error:
    • 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")])