Converts diagnostics for two errors in Ghc.Tc.Module (#19926)
This adds constructors to TcRnMessage to replace use of TcRnUnknownMessage in Ghc.Tc.Module. Adds a test case for the UnsafeDueToPlugin warning. Closes #19926
Showing
- compiler/GHC/Tc/Errors/Ppr.hs 12 additions, 0 deletionscompiler/GHC/Tc/Errors/Ppr.hs
- compiler/GHC/Tc/Errors/Types.hs 11 additions, 0 deletionscompiler/GHC/Tc/Errors/Types.hs
- compiler/GHC/Tc/Module.hs 2 additions, 7 deletionscompiler/GHC/Tc/Module.hs
- testsuite/tests/plugins/Makefile 5 additions, 0 deletionstestsuite/tests/plugins/Makefile
- testsuite/tests/plugins/T19926.hs 5 additions, 0 deletionstestsuite/tests/plugins/T19926.hs
- testsuite/tests/plugins/T19926.stderr 5 additions, 0 deletionstestsuite/tests/plugins/T19926.stderr
- testsuite/tests/plugins/all.T 6 additions, 0 deletionstestsuite/tests/plugins/all.T
- testsuite/tests/plugins/simple-plugin/Simple/DefaultPlugin.hs 5 additions, 0 deletions...suite/tests/plugins/simple-plugin/Simple/DefaultPlugin.hs
- testsuite/tests/plugins/simple-plugin/simple-plugin.cabal 1 addition, 0 deletionstestsuite/tests/plugins/simple-plugin/simple-plugin.cabal
Loading
Please register or sign in to comment