We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14caaf1 commit bea0700Copy full SHA for bea0700
python/ql/test/experimental/dataflow/typetracking/test.py
@@ -65,6 +65,19 @@ def foo():
65
also_x = foo() # $ tracked
66
print(also_x) # $ tracked
67
68
+
69
+def from_parameter_default():
70
+ x_alias = tracked # $tracked
71
+ def outer(x=tracked): # $tracked
72
+ print(x) # $tracked
73
+ def inner():
74
+ print(x) # $ MISSING: tracked
75
+ print(x_alias) # $tracked
76
+ return x # $tracked
77
+ also_x = outer() # $tracked
78
+ print(also_x) # $tracked
79
80
81
# ------------------------------------------------------------------------------
82
# Function decorator
83
0 commit comments