diff options
author | Geoffrey Mainland <mainland@apeiron.net> | 2013-05-16 15:08:07 +0100 |
---|---|---|
committer | Geoffrey Mainland <mainland@apeiron.net> | 2013-10-04 14:58:40 -0400 |
commit | 1d43475bc175c2ec6df5c6b71832ffa7d1ee002b (patch) | |
tree | 68eb1c0d1a9467d06ec6f41e9b9b92f8712952b4 /testsuite/tests/th/TH_unresolvedInfix2.stderr | |
parent | 4ccdc324530d51caad2098774e741b6c8c4dd74f (diff) | |
download | haskell-1d43475bc175c2ec6df5c6b71832ffa7d1ee002b.tar.gz |
Fix test wibbles for new Template Haskell.
Because splices are now run in the renamer, we do not get the same error context
as we would when running in the type checker. In most cases we get less context,
and in some cases I have added additional context. Error messages should at
least tell the user that an error occurred in a splice; dropping context beyond
that point is not judged a great loss.
Note that we may now report only one error when multiple errors were reported
before because splices are now run in the renamer.
Diffstat (limited to 'testsuite/tests/th/TH_unresolvedInfix2.stderr')
-rw-r--r-- | testsuite/tests/th/TH_unresolvedInfix2.stderr | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/testsuite/tests/th/TH_unresolvedInfix2.stderr b/testsuite/tests/th/TH_unresolvedInfix2.stderr index fab508a331..31f06058da 100644 --- a/testsuite/tests/th/TH_unresolvedInfix2.stderr +++ b/testsuite/tests/th/TH_unresolvedInfix2.stderr @@ -1,5 +1,5 @@ -TH_unresolvedInfix2.hs:12: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] @@ -15,9 +15,3 @@ TH_unresolvedInfix2.hs:12:11: 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)) |