Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
yoff
2025-05-13 16:57:32 +02:00
committed by GitHub
parent c70fd6a58c
commit 3fcd46ec6c
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
---
category: minorAnalysis
---
* Captured variables are currently considered live when the capturing function exists normally. Now they are also considered live when the capturing function exits via an exception.
* Captured variables are currently considered live when the capturing function exits normally. Now they are also considered live when the capturing function exits via an exception.

View File

@@ -58,7 +58,7 @@ def get_retried x
print x
if x < 1
begin
x += 1 #$ OK - the block may be executed again
x += 1 # OK - the block may be executed again
raise StandardError
end
end