[Git][ghc/ghc][wip/warns-to-drivermessages] Make Warn = Located DriverMessage

Oleg Grenrus (@phadej) gitlab at gitlab.haskell.org
Fri May 19 08:52:45 UTC 2023



Oleg Grenrus pushed to branch wip/warns-to-drivermessages at Glasgow Haskell Compiler / GHC


Commits:
4bca0486 by Oleg Grenrus at 2023-05-19T11:51:33+03:00
Make Warn = Located DriverMessage

This change makes command line argument parsing use diagnostic
framework for producing warnings.

- - - - -


30 changed files:

- compiler/GHC.hs
- compiler/GHC/Driver/Backpack.hs
- compiler/GHC/Driver/CmdLine.hs
- compiler/GHC/Driver/Errors.hs
- compiler/GHC/Driver/Errors/Ppr.hs
- compiler/GHC/Driver/Errors/Types.hs
- compiler/GHC/Driver/Main.hs
- compiler/GHC/Driver/Pipeline.hs
- compiler/GHC/Driver/Pipeline/Execute.hs
- compiler/GHC/Driver/Pipeline/Phases.hs
- compiler/GHC/Driver/Session.hs
- compiler/GHC/Types/Error/Codes.hs
- ghc/GHCi/UI.hs
- ghc/Main.hs
- testsuite/tests/backpack/should_compile/bkp09.stderr
- testsuite/tests/backpack/should_compile/bkp15.stderr
- testsuite/tests/deSugar/should_compile/ds041.stderr
- testsuite/tests/deriving/should_compile/T20501.stderr
- testsuite/tests/deriving/should_compile/T4325.stderr
- testsuite/tests/deriving/should_compile/T4966.stderr
- testsuite/tests/deriving/should_compile/drv-foldable-traversable1.stderr
- testsuite/tests/deriving/should_compile/drv-functor1.stderr
- testsuite/tests/deriving/should_fail/drvfail-functor2.stderr
- testsuite/tests/driver/T11429a.stderr
- testsuite/tests/driver/T11429c.stderr
- testsuite/tests/driver/T12056b.stderr
- testsuite/tests/driver/T12056c.stderr
- testsuite/tests/driver/T20436/T20436.stderr
- testsuite/tests/driver/T21682.stderr
- testsuite/tests/driver/T2464.stderr


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4bca0486232b5f0cf6f5a396b16d52e5db55fb9a

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4bca0486232b5f0cf6f5a396b16d52e5db55fb9a
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230519/29461042/attachment.html>


More information about the ghc-commits mailing list