Python: Extend import * with plain use

(no calls or anything)
This commit is contained in:
Rasmus Wriedt Larsen
2023-10-10 15:50:53 +02:00
parent bc1c22cda2
commit 6521e5165c

View File

@@ -6,6 +6,8 @@ from unknown import * #$ use=moduleImport("unknown")
# going into it from its corresponding `GlobalSsaVariable`.
hello() #$ MISSING: use=moduleImport("unknown").getMember("hello").getReturn()
print(const_from_unknown) #$ MISSING: use=moduleImport("unknown").getMember("const_from_unknown")
# We don't want our analysis to think that either `non_module_member` or `outer_bar` can
# come from `from unknown import *`
non_module_member