Commit d3ea4ce6 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Error message wibbles

parent e4e7aff0
......@@ -6,4 +6,4 @@
<interactive>:5:1:
Not in scope: ‛fit’
Perhaps you meant one of these:
‛it’ (line 4), ‛fst’ (imported from Prelude)
‛fst’ (imported from Prelude), ‛it’ (line 4)
T5508.hs:(7,9)-(9,28): Splicing expression
do { let x = mkName "x"
v = return (LamE [VarP x] $ VarE x);
[| $v . id |] }
[| $v . id |]
pending(rn) [(splice, v)] }
======>
((\ x -> x) . id)
......@@ -3,4 +3,5 @@ T5795.hs:9:6:
GHC stage restriction:
‛ty’ is used in a top-level splice or annotation,
and must be imported, not defined locally
In the expression: ty
In the splice: $ty
To see what the splice expanded to, use -ddump-splices
......@@ -4,7 +4,6 @@ T5971.hs:6:7:
Probable cause: you used a unique Template Haskell name (NameU),
perhaps via newName, but did not bind it
If that's it, then -ddump-splices might be useful
In the result of the splice:
$(newName "x" >>= varE)
In the splice: $(newName "x" >>= varE)
To see what the splice expanded to, use -ddump-splices
In the expression: $(newName "x" >>= varE)
T8412.hs:5:12:
Illegal literal in type (type literals must not be negative): -1
In the result of the splice:
$(return $ LitT $ NumTyLit (- 1))
In the splice: $(return $ LitT $ NumTyLit (- 1))
To see what the splice expanded to, use -ddump-splices
......@@ -4,7 +4,7 @@ TH_unresolvedInfix2.hs:14:11:
must have lower precedence than that of the operand,
namely ‛:+’ [infixl 6]
in the section: ‛:+ N :+ N’
In the result of the splice:
In the splice:
$(let
plus = conE ':+
n = conE 'N
......
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