diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2022-12-15 13:45:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-15 06:45:36 +0100 |
commit | 91ce8c385d4ccbaab8048cf0393b01cd72282272 (patch) | |
tree | 0f9e3b632394e701b48e8afb01fa5fd0d0318d61 /changelog.md | |
parent | 9a50033d5b09ec3263a53bd2bb4182a8a50e6f4d (diff) | |
download | Nim-91ce8c385d4ccbaab8048cf0393b01cd72282272.tar.gz |
fix #19580; add warning for bare except: clause (#21099)
* fix #19580; add warning for bare except: clause * fixes some easy ones * Update doc/manual.md * fixes docs * Update changelog.md * addition * Apply suggestions from code review Co-authored-by: Jacek Sieka <arnetheduck@gmail.com> * Update doc/tut2.md Co-authored-by: Jacek Sieka <arnetheduck@gmail.com>
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md index 0181d03d2..00bdb50c2 100644 --- a/changelog.md +++ b/changelog.md @@ -133,6 +133,8 @@ `foo` had type `proc ()` were assumed by the compiler to mean `foo(a, b, proc () = ...)`. This behavior is now deprecated. Use `foo(a, b) do (): ...` or `foo(a, b, proc () = ...)` instead. +- If no exception or any exception deriving from Exception but not Defect or CatchableError given in except, a `warnBareExcept` warning will be triggered. + ## Standard library additions and changes [//]: # "Changes:" |