File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
test/experimental/dataflow/ApiGraphs Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -449,7 +449,7 @@ module API {
449
449
name = n .getId ( ) and
450
450
// Not already defined in an enclosing scope.
451
451
not exists ( LocalVariable v |
452
- v .getId ( ) = name and v .getScope ( ) . getEnclosingScope * ( ) = n .getScope ( )
452
+ v .getId ( ) = name and v .getScope ( ) = n .getScope ( ) . getEnclosingScope * ( )
453
453
) and
454
454
not name = getBuiltInName ( ) and
455
455
s = n .getScope ( ) .getEnclosingScope * ( ) and
Original file line number Diff line number Diff line change 6
6
# going into it from its corresponding `GlobalSsaVariable`.
7
7
hello () #$ MISSING: use=moduleImport("unknown").getMember("hello").getReturn()
8
8
9
+ # We don't want our analysis to think that either `non_module_member` or `outer_bar` can
10
+ # come from `from unknown import *`
9
11
non_module_member
10
12
11
13
outer_bar = 5
You can’t perform that action at this time.
0 commit comments