mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
python: also override `getAHandler
(to get new result type)
This commit is contained in:
@@ -408,6 +408,8 @@ class Try extends Try_ {
|
||||
|
||||
override ExceptionHandler getHandler(int i) { result = Try_.super.getHandler(i) }
|
||||
|
||||
override ExceptionHandler getAHandler() { result = Try_.super.getAHandler() }
|
||||
|
||||
/** Gets a normal exception handler, `except`, of this try statement. */
|
||||
ExceptStmt getANormalHandler() { result = this.getAHandler() }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user