Skip to content

Commit 536c115

Browse files
committed
JS: Fix location override in CaptureNode
1 parent 23d28fc commit 536c115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/dataflow/internal/DataFlowPrivate.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class CaptureNode extends DataFlow::Node, TSynthCaptureNode {
6060
override string toString() { result = this.toStringInternal() } // cached in parent class
6161

6262
cached
63-
private Location getLocation() { result = this.getNode().getLocation() }
63+
override Location getLocation() { result = this.getNode().getLocation() }
6464
}
6565

6666
class GenericSynthesizedNode extends DataFlow::Node, TGenericSynthesizedNode {

0 commit comments

Comments
 (0)