diff options
author | Kai Prott <kai.prott@hotmail.de> | 2021-11-23 12:19:38 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-11-26 16:01:47 -0500 |
commit | 0c8e1b4db3bee70cbd06251f6410106a870ddbe2 (patch) | |
tree | 9bdc31c7a357cdcf350d60adedd8ba8bdc61cb6d /testsuite/tests/plugins | |
parent | 9907d54098b5b40c9ddb300833e4aa0e57ddb1c6 (diff) | |
download | haskell-0c8e1b4db3bee70cbd06251f6410106a870ddbe2.tar.gz |
Improve error message for mis-typed plugins #20671
Previously, when a plugin could not be loaded because it was incorrectly typed, the error message only printed the expected but not the actual type.
This commit augments the error message such that both types are printed and the corresponding module is printed as well.
Diffstat (limited to 'testsuite/tests/plugins')
-rw-r--r-- | testsuite/tests/plugins/plugins02.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/plugins/plugins02.stderr b/testsuite/tests/plugins/plugins02.stderr index 185d13be9a..5e5ff04950 100644 --- a/testsuite/tests/plugins/plugins02.stderr +++ b/testsuite/tests/plugins/plugins02.stderr @@ -1 +1 @@ -<command line>: The value plugin did not have the type Plugin as required +<command line>: The value Simple.BadlyTypedPlugin.plugin with type Int did not have the type GHC.Driver.Plugin as required |