Python: Use getLocation directly on EssaNode

This commit is contained in:
Taus Brock-Nannestad
2021-02-01 14:55:18 +01:00
parent 817a142abc
commit fc01e5607f

View File

@@ -134,7 +134,7 @@ class EssaNode extends Node, TEssaNode {
override Scope getScope() { result = var.getScope() }
override Location getLocation() { result = var.getDefinition().getLocation() }
override Location getLocation() { result = var.getLocation() }
}
/** A data-flow node corresponding to a control-flow node. */