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

TH_implicitParamsErr2.hs:5:10: error:
    • Implicit parameters mixed with other bindings
      When splicing a TH expression: let {?x = 1; y = 2}
 in y
    • In the untyped splice:
        $(letE
            [implicitParamBindD "x" [| 1 |],
             funD (mkName "y") [clause [] (normalB [| 2 |]) []]]
            (varE (mkName "y")))