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

T13837.hs:9:4: error:
    • 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.