mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Python: Support iterable unpacking in type-tracking
This commit is contained in:
@@ -15,7 +15,6 @@ pointsTo_found_typeTracker_notFound
|
||||
| code/func_defined_outside_class.py:39:11:39:21 | ControlFlowNode for _gen() | B._gen |
|
||||
| code/func_defined_outside_class.py:42:1:42:7 | ControlFlowNode for Attribute() | B._gen.func |
|
||||
| code/func_defined_outside_class.py:43:1:43:7 | ControlFlowNode for Attribute() | B._gen.func |
|
||||
| code/func_ref_in_content.py:20:1:20:4 | ControlFlowNode for f2() | func |
|
||||
| code/funky_regression.py:15:9:15:17 | ControlFlowNode for Attribute() | Wat.f2 |
|
||||
| code/type_tracking_limitation.py:8:1:8:3 | ControlFlowNode for x() | my_func |
|
||||
typeTracker_found_pointsTo_notFound
|
||||
|
||||
@@ -17,7 +17,7 @@ def return_func_in_tuple():
|
||||
tup = return_func_in_tuple() # $ pt,tt=return_func_in_tuple
|
||||
|
||||
f2, _ = tup
|
||||
f2() # $ pt=func MISSING: tt
|
||||
f2() # $ pt,tt=func
|
||||
|
||||
f3 = tup[0]
|
||||
f3() # $ tt,pt=func
|
||||
|
||||
Reference in New Issue
Block a user