summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/TH_unresolvedInfix2.stderr
blob: a23cd4ae919d1eff422e2bf334840c248308a8e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

TH_unresolvedInfix2.hs:12:11:
    The operator `:+' [infixl 6] of a section
        must have lower precedence than that of the operand,
          namely `:+' [infixl 6]
        in the section: `:+ N :+ N'
    In the result of the splice:
      $(let
          plus = conE ':+
          n = conE 'N
        in infixE Nothing plus (Just $ uInfixE n plus n))
    To see what the splice expanded to, use -ddump-splices
    In the expression:
      $(let
          plus = conE ...
          n = conE ...
        in infixE Nothing plus (Just $ uInfixE n plus n))
    In an equation for `expr':
        expr
          = $(let
                plus = ...
                ....
              in infixE Nothing plus (Just $ uInfixE n plus n))