mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Swift: synthesize CaptureListExpr::getVariable in QL instead of extracting it
This commit is contained in:
@@ -411,7 +411,9 @@ class CapturedDecl(Decl):
|
||||
|
||||
class CaptureListExpr(Expr):
|
||||
binding_decls: list[PatternBindingDecl] | child
|
||||
variables: list[VarDecl] | child
|
||||
variables: list[VarDecl] | child | synth | desc("""
|
||||
These are the variables introduced by this capture in the closure's scope, not the captured ones.
|
||||
""")
|
||||
closure_body: "ClosureExpr" | child
|
||||
|
||||
class CollectionExpr(Expr):
|
||||
|
||||
Reference in New Issue
Block a user