JS: Fix location override in CaptureNode

This commit is contained in:
Asger F
2024-05-06 13:51:25 +02:00
parent 23d28fc098
commit 536c115c1c

View File

@@ -60,7 +60,7 @@ class CaptureNode extends DataFlow::Node, TSynthCaptureNode {
override string toString() { result = this.toStringInternal() } // cached in parent class
cached
private Location getLocation() { result = this.getNode().getLocation() }
override Location getLocation() { result = this.getNode().getLocation() }
}
class GenericSynthesizedNode extends DataFlow::Node, TGenericSynthesizedNode {