summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T20454.stdout
diff options
context:
space:
mode:
authorMario Blažević <blamario@protonmail.com>2021-10-24 20:24:51 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-02-25 21:09:41 -0500
commit8387dfbe6e468083c472ea019be8af79d489cbc8 (patch)
treea849dd5a1f54a7aba682dab012e660b56bf2ffcb /testsuite/tests/th/T20454.stdout
parent8ed3d5fda3ad6ab9a1f4e50556850e605f000949 (diff)
downloadhaskell-8387dfbe6e468083c472ea019be8af79d489cbc8.tar.gz
template-haskell: Fix two prettyprinter issues
Fix two issues regarding printing numeric literals. Fixing #20454.
Diffstat (limited to 'testsuite/tests/th/T20454.stdout')
-rw-r--r--testsuite/tests/th/T20454.stdout15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/tests/th/T20454.stdout b/testsuite/tests/th/T20454.stdout
new file mode 100644
index 0000000000..9035052bbe
--- /dev/null
+++ b/testsuite/tests/th/T20454.stdout
@@ -0,0 +1,15 @@
+[0.0,
+ 123.0,
+ -321.0,
+ 9000.0,
+ 10000.0,
+ -5e8,
+ 3.45e69,
+ -4.56e80,
+ 0.01,
+ -2e-3,
+ 4e-58,
+ -3e-66,
+ 0.33333333333333333333333333333,
+ 1 / 3]
+[[-4 .. -1], [-4, -3 .. -1], [-4, -3 ..], [-1 ..]]