Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fc01e56

Browse files
committed
Python: Use getLocation directly on EssaNode
1 parent 817a142 commit fc01e56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/ql/src/semmle/python/dataflow/new/internal/DataFlowPublic.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class EssaNode extends Node, TEssaNode {
134134

135135
override Scope getScope() { result = var.getScope() }
136136

137-
override Location getLocation() { result = var.getDefinition().getLocation() }
137+
override Location getLocation() { result = var.getLocation() }
138138
}
139139

140140
/** A data-flow node corresponding to a control-flow node. */

0 commit comments

Comments
 (0)