mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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.
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user