You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the following code, the plugin highlights the call to logger.info as "Raise context may escape through this lambda". This is unexpected as the lambda doesn't capture the raise context.
As of 69c4fd2 the heuristic for detecting potentially escaped lambdas has been improved with your suggestion, and cases like that are indeed not marked.
This is part of release 0.2.1, which is currently in approval.
For the following code, the plugin highlights the call to
logger.info
as "Raise context may escape through this lambda". This is unexpected as the lambda doesn't capture the raise context.I would however expect the warning if raise was captured by the lambda (by a call to
raise(null)
orensure(bool)
etc).The text was updated successfully, but these errors were encountered: