summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/TH_unresolvedInfix2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/TH_unresolvedInfix2.stderr')
-rw-r--r--testsuite/tests/th/TH_unresolvedInfix2.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/th/TH_unresolvedInfix2.stderr b/testsuite/tests/th/TH_unresolvedInfix2.stderr
new file mode 100644
index 0000000000..4baa35a351
--- /dev/null
+++ b/testsuite/tests/th/TH_unresolvedInfix2.stderr
@@ -0,0 +1,11 @@
+
+TH_unresolvedInfix2.hs:14: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 splice:
+ $(let
+ plus = conE ...
+ n = conE ...
+ in infixE Nothing plus (Just $ uInfixE n plus n))