[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 4 commits: More informative errors for bad imports (#21826)

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Tue Apr 25 16:22:09 UTC 2023



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


Commits:
0da9e882 by Soham Chowdhury at 2023-04-25T00:15:22-04:00
More informative errors for bad imports (#21826)

- - - - -
ebd5b078 by Josh Meredith at 2023-04-25T00:15:58-04:00
JS/base: provide implementation for mkdir (issue 22374)

- - - - -
ea5b520c by Josh Meredith at 2023-04-25T12:21:59-04:00
JS: Fix h$base_access implementation (issue 22576)

- - - - -
8139a166 by Andrei Borzenkov at 2023-04-25T12:22:03-04:00
Give more guarntees about ImplicitParams (#23289)

- Added new section in the GHC user's guide that legends behavior of
nested implicit parameter bindings in these two cases:

  let ?f = 1 in let ?f = 2 in ?f

and

  data T where MkT :: (?f :: Int) => T

  f :: T -> T -> Int
  f MkT MkT = ?f

- Added new test case to examine this behavior.

- - - - -


30 changed files:

- compiler/GHC/Rename/Names.hs
- compiler/GHC/Rename/Unbound.hs
- compiler/GHC/Rename/Utils.hs
- compiler/GHC/Tc/Errors/Ppr.hs
- compiler/GHC/Tc/Errors/Types.hs
- compiler/GHC/Tc/Utils/TcType.hs
- compiler/GHC/Types/Error/Codes.hs
- compiler/GHC/Types/Hint.hs
- compiler/GHC/Types/Hint/Ppr.hs
- docs/users_guide/exts/implicit_parameters.rst
- hadrian/src/Settings/Builders/RunTest.hs
- libraries/base/jsbits/base.js
- libraries/base/tests/IO/all.T
- + libraries/base/tests/IO/mkdirExists.hs
- + libraries/base/tests/IO/mkdirExists.stderr
- testsuite/tests/ado/all.T
- testsuite/tests/driver/recomp001/recomp001.stderr
- testsuite/tests/driver/retc001/retc001.stderr
- testsuite/tests/ffi/should_fail/ccfail004.stderr
- testsuite/tests/ghc-api/target-contents/all.T
- testsuite/tests/ghc-e/should_fail/T9905fail2.stderr
- testsuite/tests/ghci/scripts/T6007.stderr
- + testsuite/tests/module/T21826.hs
- + testsuite/tests/module/T21826.stderr
- testsuite/tests/module/all.T
- testsuite/tests/module/mod114.stderr
- testsuite/tests/module/mod124.stderr
- testsuite/tests/module/mod125.stderr
- testsuite/tests/module/mod126.stderr
- testsuite/tests/module/mod127.stderr


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1f4116f627c8a3b657e163b93facd741fa26e15d...8139a1666277d880c3a3fa57f503fae3f19e5a88

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1f4116f627c8a3b657e163b93facd741fa26e15d...8139a1666277d880c3a3fa57f503fae3f19e5a88
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/20230425/31ee3204/attachment-0001.html>


More information about the ghc-commits mailing list