mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
Python: type-track through dict-updates
This commit is contained in:
@@ -39,6 +39,7 @@ typeTracker_found_pointsTo_notFound
|
||||
| code/class_super.py:108:1:108:8 | ControlFlowNode for Attribute() | Z.foo |
|
||||
| code/def_in_function.py:22:5:22:11 | ControlFlowNode for Attribute() | test.A.foo |
|
||||
| code/func_ref_in_content.py:29:1:29:4 | ControlFlowNode for f4() | func |
|
||||
| code/func_ref_in_content.py:40:1:40:4 | ControlFlowNode for f5() | func |
|
||||
| code/isinstance.py:9:13:9:22 | ControlFlowNode for Attribute() | A.foo |
|
||||
| code/isinstance.py:9:13:9:22 | ControlFlowNode for Attribute() | ASub.foo |
|
||||
| code/isinstance.py:14:13:14:22 | ControlFlowNode for Attribute() | A.foo |
|
||||
|
||||
@@ -37,7 +37,7 @@ def return_func_in_dict_update():
|
||||
dct2 = return_func_in_dict_update() # $ pt,tt=return_func_in_dict_update
|
||||
|
||||
f5 = dct2['func']
|
||||
f5() # $ MISSING: tt=func
|
||||
f5() # $ tt=func
|
||||
|
||||
|
||||
def return_func_in_list():
|
||||
|
||||
Reference in New Issue
Block a user