summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplCore
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-06-20 14:43:57 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-06-28 19:02:41 -0400
commit251471e7706ea3029b4a0c086035c16e7b67a081 (patch)
tree2a561e2a2efa544b7535c12ed71b62c536ba3fa1 /testsuite/tests/simplCore
parenteecab8f9847ebf576fbe2f6a2b9564c25a0230e0 (diff)
downloadhaskell-251471e7706ea3029b4a0c086035c16e7b67a081.tar.gz
Cleanup BuiltInSyntax vs UserSyntax
There was some confusion about whether FUN/TYPE/One/Many should be BuiltInSyntax or UserSyntax. The answer is certainly UserSyntax as BuiltInSyntax is for things which are directly constructed by the parser rather than going through normal renaming channels. I fixed all the obviously wrong places I could find and added a test for the original bug which was caused by this (#21752) Fixes #21752 #20695 #18302
Diffstat (limited to 'testsuite/tests/simplCore')
-rw-r--r--testsuite/tests/simplCore/should_compile/T4201.stdout6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/simplCore/should_compile/T4201.stdout b/testsuite/tests/simplCore/should_compile/T4201.stdout
index baeee0b0af..920ae57662 100644
--- a/testsuite/tests/simplCore/should_compile/T4201.stdout
+++ b/testsuite/tests/simplCore/should_compile/T4201.stdout
@@ -1,4 +1,4 @@
- lift :: Foo -> T
- [HasNoCafRefs, TagSig: <TagProper>, LambdaFormInfo: LFReEntrant 1,
Arity: 1, Strictness: <1!A>, CPR: 1,
- Unfolding: (bof `cast` (Sym (N:Foo[0]) %<'Many>_N ->_R <T>_R))]
+ Unfolding: (bof
+ `cast`
+ (Sym (N:Foo[0]) %<'GHC.Types.Many>_N ->_R <T>_R))]