[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 4 commits: Don't return a panic in tcNestedSplice

Marge Bot gitlab at gitlab.haskell.org
Mon May 4 07:59:44 UTC 2020



 Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC


Commits:
8bdc03d6 by Simon Peyton Jones at 2020-05-04T01:56:59-04:00
Don't return a panic in tcNestedSplice

In GHC.Tc.Gen.Splice.tcNestedSplice we were returning a
typechecked expression of "panic". That is usually OK, because
the result is discarded.  But it happens that tcApp now looks at
the typechecked expression, trivially, to ask if it is tagToEnum.
So being bottom is bad.

Moreover a debug-trace might print it out.

So better to return a civilised expression, even though it is
usually discarded.

- - - - -
0bf640b1 by Baldur Blöndal at 2020-05-04T01:57:36-04:00
Don't require parentheses around via type (`-XDerivingVia'). Fixes #18130".

- - - - -
436732ca by Artem Pelenitsyn at 2020-05-04T03:59:34-04:00
Remove custom ExceptionMonad class (#18075) (updating haddock submodule accordingly)

- - - - -
8f0e7941 by jneira at 2020-05-04T03:59:36-04:00
Remove unused hs-boot file

- - - - -


30 changed files:

- compiler/GHC.hs
- compiler/GHC/Data/IOEnv.hs
- compiler/GHC/Driver/Make.hs
- compiler/GHC/Driver/Monad.hs
- compiler/GHC/Driver/Pipeline.hs
- compiler/GHC/Driver/Types.hs
- compiler/GHC/Iface/Recomp.hs
- compiler/GHC/Parser.y
- compiler/GHC/Runtime/Debugger.hs
- compiler/GHC/Runtime/Eval.hs
- compiler/GHC/Runtime/Interpreter.hs
- compiler/GHC/Runtime/Linker.hs
- compiler/GHC/SysTools/FileCleanup.hs
- compiler/GHC/SysTools/Tasks.hs
- compiler/GHC/Tc/Gen/Expr.hs
- compiler/GHC/Tc/Gen/Splice.hs
- − compiler/GHC/Unit/Module/Env.hs-boot
- compiler/GHC/Utils/Error.hs
- compiler/GHC/Utils/Exception.hs
- compiler/GHC/Utils/Panic.hs
- compiler/ghc.cabal.in
- docs/users_guide/8.12.1-notes.rst
- ghc.mk
- ghc/GHCi/UI.hs
- ghc/GHCi/UI/Info.hs
- ghc/GHCi/UI/Monad.hs
- hadrian/src/Settings/Default.hs
- testsuite/tests/ghc-api/Makefile
- testsuite/tests/ghc-api/T8628.hs
- testsuite/tests/ghc-api/downsweep/PartialDownsweep.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1c49d150404bef958110dd7167cb6131f550c88a...8f0e7941771a1ea19f41372a47116fe9a57958cb

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1c49d150404bef958110dd7167cb6131f550c88a...8f0e7941771a1ea19f41372a47116fe9a57958cb
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/20200504/a0d62169/attachment.html>


More information about the ghc-commits mailing list