summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T13837.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/T13837.stderr')
-rw-r--r--testsuite/tests/th/T13837.stderr9
1 files changed, 5 insertions, 4 deletions
diff --git a/testsuite/tests/th/T13837.stderr b/testsuite/tests/th/T13837.stderr
index 7bb6587ded..a5f1005ca8 100644
--- a/testsuite/tests/th/T13837.stderr
+++ b/testsuite/tests/th/T13837.stderr
@@ -1,10 +1,11 @@
T13837.hs:9:4: error:
- • The exact Name ‘Fam’ is not in scope
- 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
+ • The Name ‘Fam’ is not in scope.
• In the argument of reifyInstances: Fam_0
In the untyped splice:
$(do fam_name <- newName "Fam"
stringE . show =<< qReifyInstances fam_name [])
+ Suggested fix:
+ If you bound a unique Template Haskell name (NameU)
+ perhaps via newName,
+ then -ddump-splices might be useful.