T3395.stderr 587 Bytes
Newer Older
Simon Peyton Jones's avatar
Simon Peyton Jones committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

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