summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_fail/T18888.stderr
diff options
context:
space:
mode:
authorAlan Zimmerman <alan.zimm@gmail.com>2020-10-28 23:09:48 +0000
committerAlan Zimmerman <alan.zimm@gmail.com>2020-11-02 08:23:42 +0000
commit791cb337549df002ff4323299e6baf825fe994f4 (patch)
treeba29187925df87daa5fcfa3c10a94179c720676a /testsuite/tests/linear/should_fail/T18888.stderr
parente63db32c7eb089985a1a7279a0a886a32d70ac0e (diff)
downloadhaskell-791cb337549df002ff4323299e6baf825fe994f4.tar.gz
Restrict Linear arrow %1 to exactly literal 1 onlywip/T18888
This disallows `a %001 -> b`, and makes sure the type literal is printed from its SourceText so it is clear why. Closes #18888
Diffstat (limited to 'testsuite/tests/linear/should_fail/T18888.stderr')
-rw-r--r--testsuite/tests/linear/should_fail/T18888.stderr3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/linear/should_fail/T18888.stderr b/testsuite/tests/linear/should_fail/T18888.stderr
new file mode 100644
index 0000000000..c224a5b331
--- /dev/null
+++ b/testsuite/tests/linear/should_fail/T18888.stderr
@@ -0,0 +1,3 @@
+
+T18888.hs:4:9:
+ Illegal type: ‘001’ Perhaps you intended to use DataKinds