Skip to content

Commit 4be4ff5

Browse files
committed
unified: Add TODO in ClosureExpr
1 parent 31488c0 commit 4be4ff5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎unified/ql/lib/codeql/unified/internal/dataflow/CaptureSsa.qll‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ module CaptureSsaInput implements InputSig<Location, BasicBlock> {
104104
}
105105

106106
class ClosureExpr extends Expr instanceof TCallableNode {
107+
// TODO: In order to support classes with captures, this needs to cover constructor calls to such classes as well.
107108
private Callable callable;
108109

109110
ClosureExpr() { this.(BuilderNode).isCallable(callable) }

0 commit comments

Comments
 (0)