summaryrefslogtreecommitdiff
path: root/testsuite/tests/quasiquotation
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/quasiquotation')
-rw-r--r--testsuite/tests/quasiquotation/T3953.stderr4
-rw-r--r--testsuite/tests/quasiquotation/qq001/qq001.stderr6
-rw-r--r--testsuite/tests/quasiquotation/qq002/qq002.stderr6
-rw-r--r--testsuite/tests/quasiquotation/qq003/qq003.stderr6
-rw-r--r--testsuite/tests/quasiquotation/qq004/qq004.stderr6
5 files changed, 19 insertions, 9 deletions
diff --git a/testsuite/tests/quasiquotation/T3953.stderr b/testsuite/tests/quasiquotation/T3953.stderr
index 0a067dd4b2..99c63b1c97 100644
--- a/testsuite/tests/quasiquotation/T3953.stderr
+++ b/testsuite/tests/quasiquotation/T3953.stderr
@@ -1,2 +1,4 @@
-T3953.hs:5:7: Not in scope: ‘notDefinedHere’
+T3953.hs:5:7:
+ Not in scope: ‘notDefinedHere’
+ In the quasi-quotation: [notDefinedHere| |]
diff --git a/testsuite/tests/quasiquotation/qq001/qq001.stderr b/testsuite/tests/quasiquotation/qq001/qq001.stderr
index aa748e60cd..350dd418c0 100644
--- a/testsuite/tests/quasiquotation/qq001/qq001.stderr
+++ b/testsuite/tests/quasiquotation/qq001/qq001.stderr
@@ -1,4 +1,6 @@
qq001.hs:7:16:
- GHC stage restriction: parse
- is used in a quasiquote, and must be imported, not defined locally
+ GHC stage restriction:
+ ‘parse’ is used in a top-level splice, quasi-quote, or annotation,
+ and must be imported, not defined locally
+ In the quasi-quotation: [parse||]
diff --git a/testsuite/tests/quasiquotation/qq002/qq002.stderr b/testsuite/tests/quasiquotation/qq002/qq002.stderr
index b32b5ac6a0..12ab3751dd 100644
--- a/testsuite/tests/quasiquotation/qq002/qq002.stderr
+++ b/testsuite/tests/quasiquotation/qq002/qq002.stderr
@@ -1,4 +1,6 @@
qq002.hs:8:10:
- GHC stage restriction: parse
- is used in a quasiquote, and must be imported, not defined locally
+ GHC stage restriction:
+ ‘parse’ is used in a top-level splice, quasi-quote, or annotation,
+ and must be imported, not defined locally
+ In the quasi-quotation: [parse||]
diff --git a/testsuite/tests/quasiquotation/qq003/qq003.stderr b/testsuite/tests/quasiquotation/qq003/qq003.stderr
index a1f490fb2c..dd7fa8c872 100644
--- a/testsuite/tests/quasiquotation/qq003/qq003.stderr
+++ b/testsuite/tests/quasiquotation/qq003/qq003.stderr
@@ -1,4 +1,6 @@
qq003.hs:5:26:
- GHC stage restriction: parse
- is used in a quasiquote, and must be imported, not defined locally
+ GHC stage restriction:
+ ‘parse’ is used in a top-level splice, quasi-quote, or annotation,
+ and must be imported, not defined locally
+ In the quasi-quotation: [parse||]
diff --git a/testsuite/tests/quasiquotation/qq004/qq004.stderr b/testsuite/tests/quasiquotation/qq004/qq004.stderr
index be61788926..7cd33e1e6f 100644
--- a/testsuite/tests/quasiquotation/qq004/qq004.stderr
+++ b/testsuite/tests/quasiquotation/qq004/qq004.stderr
@@ -1,4 +1,6 @@
qq004.hs:8:21:
- GHC stage restriction: parse
- is used in a quasiquote, and must be imported, not defined locally
+ GHC stage restriction:
+ ‘parse’ is used in a top-level splice, quasi-quote, or annotation,
+ and must be imported, not defined locally
+ In the quasi-quotation: [parse||]