Address review comments

This commit is contained in:
Owen Mansel-Chan
2026-06-03 21:24:16 +01:00
parent 6f2cc43f32
commit da999ee440
2 changed files with 3 additions and 5 deletions

View File

@@ -188,7 +188,9 @@ predicate containerStep(DataFlow::Node nodeFrom, DataFlow::Node nodeTo) {
exists(DataFlow::Content c | c = contentSet.getAReadContent() |
c instanceof DataFlow::TupleElementContent or
c instanceof DataFlow::DictionaryElementContent or
c instanceof DataFlow::DictionaryElementAnyContent
c instanceof DataFlow::DictionaryElementAnyContent or
c instanceof DataFlow::ListElementContent or
c instanceof DataFlow::SetElementContent
)
)
}

View File

@@ -4983,10 +4983,6 @@ module StdlibPrivate {
// For code like `" ".join([name])`
input = "Argument[0,iterable:].ListElement" and
preservesValue = true
or
// For code like `" ".join(name)`
input = "Argument[0,iterable:]" and
preservesValue = false
) and
output = "ReturnValue"
}