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

T6114.hs:6:17:
    The exact Name ‘x’ 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
    In the argument of reifyInstances: GHC.Classes.Eq x_0
    In the splice:
      $(do { xName <- newName "x";
             instanceType <- [t| $(varT xName) |];
             _ <- reifyInstances ''Eq [instanceType];
             .... })