diff options
author | Levi Notik <levinotik@users.noreply.github.com> | 2023-10-07 01:43:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-07 07:43:17 +0200 |
commit | f111009e5dadceeab2fb076c968f8e18a5e495f8 (patch) | |
tree | 8865a998add6621f66b0bc1b8cde2f270baef1bf | |
parent | 476492583b5b40c184df015142afcd672b09330b (diff) | |
download | Nim-f111009e5dadceeab2fb076c968f8e18a5e495f8.tar.gz |
Fix typo/grammar in exception tracking section (#22801)
I came across this sentence in the Nim Manual and couldn't make sense of it. I believe this is the correct fix for the sentence. --------- Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
-rw-r--r-- | doc/manual.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual.md b/doc/manual.md index fba905bb9..8f419705e 100644 --- a/doc/manual.md +++ b/doc/manual.md @@ -5160,7 +5160,7 @@ possibly raised exceptions; the algorithm operates on `p`'s call graph: raise `system.Exception` (the base type of the exception hierarchy) and thus any exception unless `T` has an explicit `raises` list. However, if the call is of the form `f(...)` where `f` is a parameter of - the currently analyzed routine it is ignored that is marked as `.effectsOf: f`. + the currently analyzed routine that is marked as `.effectsOf: f`, it is ignored. The call is optimistically assumed to have no effect. Rule 2 compensates for this case. 2. Every expression `e` of some proc type within a call that is passed to parameter |