summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T8624.stdout
diff options
context:
space:
mode:
authorGreg Weber <greg@gregweber.info>2015-01-12 05:16:37 -0600
committerAustin Seipp <austin@well-typed.com>2015-01-13 10:10:38 -0600
commit07ace5c221adbb1675413a0fac300a9f7913c234 (patch)
treed00e7a658680ce0e2488f40ccbb4297708af1820 /testsuite/tests/th/T8624.stdout
parent0fa4240249058f327cfd283f9da2deb8dff664f1 (diff)
downloadhaskell-07ace5c221adbb1675413a0fac300a9f7913c234.tar.gz
add -th-file which generates a th.hs file
Summary: see Trac #8624 similar functionality is now available with -ddump-to-file -ddump-splices However, users are already accustomed to -ddump-splices having a particular format, and this format is not completely valid code The goal of -th-file is to dump valid Haskell code Additionally, the convention of -ddump-to-file is to name the file after the flag, so the file is .dump-splices Given that the goal of the new flag is to generate valid Haskell, The extension should be .hs Additionally, -ddump-to-file effects all other dump flags Test Plan: look at the output of using the -th-file flag and compare it to the output of using -ddump-to-file and -ddump-splices I want to add test cases, but just need some pointers on getting started there Reviewers: thomie, goldfire, simonpj, austin Reviewed By: simonpj, austin Subscribers: thomie, carter Differential Revision: https://phabricator.haskell.org/D518 GHC Trac Issues: #8624
Diffstat (limited to 'testsuite/tests/th/T8624.stdout')
-rw-r--r--testsuite/tests/th/T8624.stdout2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/th/T8624.stdout b/testsuite/tests/th/T8624.stdout
new file mode 100644
index 0000000000..82ea19598c
--- /dev/null
+++ b/testsuite/tests/th/T8624.stdout
@@ -0,0 +1,2 @@
+-- T8624.hs:7:3-72: Splicing declarations
+data THDec = THDec