Remove imprecise model for list()

This commit is contained in:
Owen Mansel-Chan
2026-06-02 21:53:14 +01:00
parent 04341c47bd
commit 5042fdee84

View File

@@ -4244,15 +4244,9 @@ module StdlibPrivate {
)
// TODO: Once we have DictKeyContent, we need to transform that into ListElementContent
) and
(
// Element content is mutated into list element content
output = "ReturnValue.ListElement" and
preservesValue = true
or
// Since list content is imprecise, we also taint the list.
output = "ReturnValue" and
preservesValue = false
)
// Element content is mutated into list element content
output = "ReturnValue.ListElement" and
preservesValue = true
or
input = "Argument[0]" and
output = "ReturnValue" and