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

TH_unresolvedInfix2.hs:14:9: error:
    • 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 untyped splice:
        $(let
            plus = conE '(:+)
            n = conE 'N
          in infixE Nothing plus (Just $ uInfixE n plus n))