We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3f29b0 commit a04c78aCopy full SHA for a04c78a
python/ql/test/library-tests/essa/ssa-compute/UseUse.ql
@@ -19,7 +19,7 @@ class UseTest extends InlineExpectationsTest {
19
)
20
or
21
exists(EssaVariable var | AdjacentUses::firstUse(var, nodeTo) |
22
- prevLoc = var.getDefinition().getLocation() and
+ prevLoc = var.getLocation() and
23
name = var.getName() and
24
tag = "def-use"
25
@@ -31,7 +31,7 @@ class UseTest extends InlineExpectationsTest {
31
32
exists(EssaVariable var | AdjacentUses::firstUse(var, _) |
33
value = var.getName() and
34
- location = var.getDefinition().getLocation() and
+ location = var.getLocation() and
35
element = var.getName() and
36
37
tag = "def"
0 commit comments