Commit e102f3a4 authored by Simon Peyton Jones's avatar Simon Peyton Jones

Trac change in Template Haskell errors

parent 20bcf3d3
T2597b.hs:8:7:
Empty stmt list in do-block
When splicing generated code into the program
When splicing TH expression: DoE []
When splicing a TH expression: do
In the expression: $mkBug2
In the definition of `bug2': bug2 = $mkBug2
T2674.hs:9:2:
Function binding for `foo' has no equations
When splicing generated code into the program
T2674.hs:9:2:
Function binding for `foo' has no equations
When splicing a TH declaration:
......@@ -3,7 +3,7 @@ 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]
When splicing a TH expression: [r1 <- undefined | undefined]
In the expression:
$(return
$ CompE
......
TH_1tuple.hs:11:6:
Illegal 1-tuple type constructor
When splicing generated code into the program
When splicing TH expression: SigE (LitE (IntegerL 1)) (TupleT 1)
When splicing a TH expression: 1 :: ()
In the expression: $(sigE [| 1 |] (tupleT 1))
In the definition of `y': y = $(sigE [| 1 |] (tupleT 1))
TH_emptycase.hs:10:6:
Case expression with no alternatives
When splicing generated code into the program
When splicing TH expression: CaseE (LitE (CharL 'a')) []
In the expression: $(caseE (litE $ CharL 'a') [])
In the definition of `f': f = $(caseE (litE $ CharL 'a') [])
TH_emptycase.hs:10:6:
Case expression with no alternatives
When splicing a TH expression: case 'a' of
In the expression: $(caseE (litE $ CharL 'a') [])
In the definition of `f': f = $(caseE (litE $ CharL 'a') [])
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment