mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
Python: Add test for iterable unpacking on module level
Currently doesn't work :O
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# this test has code on module level, which works in slightly different ways than when
|
||||
# inside a function
|
||||
|
||||
t = (SOURCE, NONSOURCE)
|
||||
a, b = t
|
||||
SINK(a) #$ MISSING: flow="SOURCE, l:-2 -> a"
|
||||
SINK_F(b)
|
||||
Reference in New Issue
Block a user