Python: Fix missing DictionaryElementContent

This commit is contained in:
Rasmus Wriedt Larsen
2024-03-01 15:21:13 +01:00
parent 30b7fadbb8
commit eeda4355f1
3 changed files with 14 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ def test_dict_update_fresh_key():
# for keys used in "inline update" like this
d = {}
d["fresh_key"] = SOURCE
SINK(d["fresh_key"]) # $ MISSING: flow="SOURCE, l:-1 -> d['fresh_key']"
SINK(d["fresh_key"]) # $ flow="SOURCE, l:-1 -> d['fresh_key']"
@expects(3) # $ unresolved_call=expects(..) unresolved_call=expects(..)(..)