summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T12411.stderr
diff options
context:
space:
mode:
authorVladislav Zavialov <vlad.z.4096@gmail.com>2019-10-30 08:44:34 +0300
committerVladislav Zavialov <vlad.z.4096@gmail.com>2019-11-13 19:29:26 +0300
commit580bdec786315aff24dda6f4135e15ca062d4a4b (patch)
tree4b1666d14a368ef6333f57e2e9dd1be99acda77a /testsuite/tests/th/T12411.stderr
parenta06cfb59d21c9cf6f53a8b1acedb075988a6c5ca (diff)
downloadhaskell-580bdec786315aff24dda6f4135e15ca062d4a4b.tar.gz
Whitespace-sensitive bang patterns (#1087, #17162)
This patch implements a part of GHC Proposal #229 that covers three operators: * the bang operator (!) * the tilde operator (~) * the at operator (@) Based on surrounding whitespace, these operators are disambiguated into bang patterns, lazy patterns, strictness annotations, and type applications. This patch does NOT cover ($), ($$), and (-), which are left as future work. Metric Increase: parsing001 Naperian T4801 Metric Increase (test_env='i386-linux-deb9'): haddock.base haddock.Cabal haddock.compiler T14683
Diffstat (limited to 'testsuite/tests/th/T12411.stderr')
-rw-r--r--testsuite/tests/th/T12411.stderr6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/tests/th/T12411.stderr b/testsuite/tests/th/T12411.stderr
index 1f344323bd..22f7de0190 100644
--- a/testsuite/tests/th/T12411.stderr
+++ b/testsuite/tests/th/T12411.stderr
@@ -1,4 +1,6 @@
T12411.hs:4:1: error:
- Pattern syntax in expression context: pure@Q
- Did you mean to enable TypeApplications?
+ Illegal visible type application ‘@Q’
+ Perhaps you intended to use TypeApplications
+
+T12411.hs:4:7: error: Not in scope: type constructor or class ‘Q’