diff options
author | Facundo DomÃnguez <facundo.dominguez@tweag.io> | 2017-09-21 18:04:56 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-09-21 20:13:04 -0400 |
commit | 175586908963a6d438cf3c28922a38191f4eaa66 (patch) | |
tree | c481ea2193d5b15aba917e201869ba0772510dec /testsuite/tests/plugins/plugins08.stderr | |
parent | a9d417dab21e0b677f13c2ba99244162a8fffe3e (diff) | |
download | haskell-175586908963a6d438cf3c28922a38191f4eaa66.tar.gz |
Implement TH addCorePlugin.
This allows template-haskell code to add plugins to the compilation
pipeline. Otherwise, the user would have to pass -fplugin=... to ghc.
For now, plugin modules in the current package can't be used. This is
because when TH runs, it is too late to let GHC know that the plugin
modules needed to be compiled first.
Test Plan: ./validate
Reviewers: simonpj, bgamari, austin, goldfire
Reviewed By: bgamari
Subscribers: angerman, rwbarton, mboes, thomie
GHC Trac Issues: #13608
Differential Revision: https://phabricator.haskell.org/D3821
Diffstat (limited to 'testsuite/tests/plugins/plugins08.stderr')
-rw-r--r-- | testsuite/tests/plugins/plugins08.stderr | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/plugins/plugins08.stderr b/testsuite/tests/plugins/plugins08.stderr new file mode 100644 index 0000000000..72667a052f --- /dev/null +++ b/testsuite/tests/plugins/plugins08.stderr @@ -0,0 +1,4 @@ +Simple Plugin Passes Queried +Got options: +Simple Plugin Pass Run +Performing Replacement |