[Git][ghc/ghc][wip/int-index/term-capture] Update tests

Vladislav Zavialov (@int-index) gitlab at gitlab.haskell.org
Wed Aug 2 12:15:11 UTC 2023



Vladislav Zavialov pushed to branch wip/int-index/term-capture at Glasgow Haskell Compiler / GHC


Commits:
0a7e9237 by Vladislav Zavialov at 2023-08-02T14:15:02+02:00
Update tests

- - - - -


3 changed files:

- + testsuite/tests/rename/should_fail/T23740e.stderr
- + testsuite/tests/rename/should_fail/T23740g.stderr
- + testsuite/tests/rename/should_fail/T23740i.stderr


Changes:

=====================================
testsuite/tests/rename/should_fail/T23740e.stderr
=====================================
@@ -0,0 +1,6 @@
+
+T23740e.hs:5:14: error: [GHC-45510]
+    • Term variable ‘id’ cannot be used here
+        (term variables cannot be promoted)
+    • In the kind ‘id’
+      In the data type declaration for ‘T’


=====================================
testsuite/tests/rename/should_fail/T23740g.stderr
=====================================
@@ -0,0 +1,6 @@
+
+T23740g.hs:7:15: error: [GHC-45510]
+    • Term variable ‘head’ cannot be used here
+        (term variables cannot be promoted)
+    • In the kind ‘head’
+      In the data type declaration for ‘T’


=====================================
testsuite/tests/rename/should_fail/T23740i.stderr
=====================================
@@ -0,0 +1,7 @@
+
+T23740i.hs:10:6: error: [GHC-45510]
+    • Term variable ‘id’ cannot be used here
+        (term variables cannot be promoted)
+    • In the first argument of ‘Show’, namely ‘id’
+      In the type ‘Show id’
+      In the argument of reifyInstances: GHC.Show.Show id



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/0a7e9237d341e1d119ef363a06d0f005f810319c

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/0a7e9237d341e1d119ef363a06d0f005f810319c
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230802/eb5721e4/attachment-0001.html>


More information about the ghc-commits mailing list