Error message and doc improvements for #14335
authorÖmer Sinan Ağacan <omeragacan@gmail.com>
Thu, 8 Mar 2018 18:19:33 +0000 (13:19 -0500)
committerBen Gamari <ben@smart-cactus.org>
Thu, 8 Mar 2018 21:08:04 +0000 (16:08 -0500)
commitbc95fedc0b1f45b62ba279f7df834c490c2e53b6
tree1e3c0482097ac6888918a95a041b8bad738dd9a2
parent98c7749cd360293bee96034056e260d70224cef6
Error message and doc improvements for #14335

- Show a more friendly error message when -fplugin is used with
  -fexternal-interpreter

- Add a few words to users guide about the interaction with -fplugin and
  -fexternal-interpreter

- Update test for #14335

Reviewers: bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: #14335

Differential Revision: https://phabricator.haskell.org/D4456
compiler/main/DynamicLoading.hs
docs/users_guide/extending_ghc.rst
testsuite/tests/plugins/Makefile
testsuite/tests/plugins/T14335.hs [new file with mode: 0644]
testsuite/tests/plugins/T14335.stderr [new file with mode: 0644]
testsuite/tests/plugins/all.T